note 43703 added to function.checkdate

From: Date: Wed, 30 Jun 2004 21:36:11 +0000
Subject: note 43703 added to function.checkdate
Groups: php.notes 
Request: Send a blank email to php-notes+get-72196@lists.php.net to get a copy of this message
I found on the net this usefull sample : <?php function lastDay($month,$year){ $last_day=28; while (checkdate($month,$last_day + 1,$year)){ $last_day++; } return $last_day; } ?> i hope that help y'all. seeeeeeee you ---- Manual Page -- http://www.php.net/manual/en/function.checkdate.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+43703 Delete -- http://master.php.net/manage/user-notes.php?action=delete+43703&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+43703&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#72196) next »