note 81583 added to function.strtotime

From: Date: Tue, 04 Mar 2008 22:10:22 +0000
Subject: note 81583 added to function.strtotime
Groups: php.notes 
Request: Send a blank email to php-notes+get-136747@lists.php.net to get a copy of this message
Sorry, just a minor correction to my code below, apparently, it the endDate does not include itself, so the line that reads: $endtime = strtotime($endDate); should instead read $endtime = strtotime("+1 day ", strtotime($endDate)); Also, I'm using an old version of php (4.1.2), so the 'next $day' may function differently according to the comment above. ---- Server IP: 66.207.199.35 Probable Submitter: 99.237.218.150 ---- Manual Page -- http://www.php.net/manual/en/function.strtotime.php Edit -- https://master.php.net/note/edit/81583 Del: integrated -- https://master.php.net/note/delete/81583/integrated Del: useless -- https://master.php.net/note/delete/81583/useless Del: bad code -- https://master.php.net/note/delete/81583/bad+code Del: spam -- https://master.php.net/note/delete/81583/spam Del: non-english -- https://master.php.net/note/delete/81583/non-english Del: in docs -- https://master.php.net/note/delete/81583/in+docs Del: other reasons-- https://master.php.net/note/delete/81583 Reject -- https://master.php.net/note/reject/81583 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#136747) next »