note 69924 deleted from function.checkdate by bjori

From: Date: Wed, 11 Oct 2006 08:26:41 +0000
Subject: note 69924 deleted from function.checkdate by bjori
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-118397@lists.php.net to get a copy of this message
Note Submitter: orgutus at NOspam dot gmail dot com ---- Another version for 'datetime_check_date_string($date_string)': <?php function datetime_check_date_string($date_string) { $ts = strtotime($date_string); $d = date('d', $ts); $m = date('m', $ts); $y = date('y', $ts); return checkdate($m, $d, $y); } ?>

« previous php.notes (#118397) next »