note 95521 deleted from function.mktime by danbrown

From: Date: Thu, 07 Jan 2010 17:20:09 +0000
Subject: note 95521 deleted from function.mktime by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-164750@lists.php.net to get a copy of this message
Note Submitter: suvasish at 2pirad dot com ---- Calculating start and end of current month: $start_of_month = mktime(00, 00, 00, date('m'), 01); $end_of_month = mktime(23, 59, 59, date('m')+1, 00); print (date('d/M/Y-H:i:s', $start_of_month)); print (date('d/M/Y-H:i:s', $end_of_month));

« previous php.notes (#164750) next »