note 85245 deleted from function.strtotime by danbrown

From: Date: Mon, 18 May 2009 02:19:53 +0000
Subject: note 85245 deleted from function.strtotime by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-155643@lists.php.net to get a copy of this message
Note Submitter: cp at dc949 dot org ---- An easier way to find the first and last time stamp of any given month. <?php $dat = split(',',date('n,Y')); $first = mktime(0,0,0,$dat[0],1,$dat[1]); $last = mktime(23,59,59,$dat[0]+1,0,$dat[1]); ?>

« previous php.notes (#155643) next »