Sheawh wrote:
how can i retrieve the last day of the month? like 31 - Jul, 30 - Jun , 28 - Feb
<?php $month = 8; $year = 2003;
$lastdayofmonth = mktime(12,0,0,$month+1,0,$year); ?>
-- ---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals – www.phparch.com
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php