Powered by Ajaxy
Digg StumbleUpon LinkedIn YouTube Flickr Facebook Twitter RSS Reset

Vérifier la validité d’une date

 date
{filelink=15244}

<?php

echo (checkdate(4, 30, 2005)?"Date Correcte<br/>":"Date incorrecte<br/>");

echo (checkdate(2, 30, 2000)?"Date Correcte<br/>":"Date incorrecte<br/>");

echo (checkdate(13, 020, 2011)?"Date Correcte<br/>":"Date incorrecte<br/>");

?>

No comments yet.

Leave a Comment