note 40248 added to function.strtotime

From: Date: Thu, 26 Feb 2004 14:51:08 +0000
Subject: note 40248 added to function.strtotime
Groups: php.notes 
Request: Send a blank email to php-notes+get-65801@lists.php.net to get a copy of this message
"next" is the equivalent of "second". So for example, if you want the date of the second Monday in March, 2004: <?php echo date("Y-m-d",strtotime("next Monday",mktime(0,0,0,3,0, 2004))); ?> "next" does not mean, "next week", as one could imagine. ;-) ---- Manual Page -- http://www.php.net/manual/en/function.strtotime.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+40248 Delete -- http://master.php.net/manage/user-notes.php?action=delete+40248&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+40248&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#65801) next »