note 78448 added to function.date

From: Date: Fri, 12 Oct 2007 13:46:32 +0000
Subject: note 78448 added to function.date
Groups: php.notes 
Request: Send a blank email to php-notes+get-131336@lists.php.net to get a copy of this message
If you're wanting to increment a date, add twenty-FIVE hours (yes, one day per year may last 25 hours...), and the additional hour won't impact other days, as it's converted to a Y-m-d string: $date=date('Y-m-d', strtotime($date)+(25*3600)); Try this for october 28, 2007... ---- Server IP: 194.153.94.10 Probable Submitter: 83.77.43.52 ---- Manual Page -- http://www.php.net/manual/en/function.date.php Edit -- https://master.php.net/note/edit/78448 Del: integrated -- https://master.php.net/note/delete/78448/integrated Del: useless -- https://master.php.net/note/delete/78448/useless Del: bad code -- https://master.php.net/note/delete/78448/bad+code Del: spam -- https://master.php.net/note/delete/78448/spam Del: non-english -- https://master.php.net/note/delete/78448/non-english Del: in docs -- https://master.php.net/note/delete/78448/in+docs Del: other reasons-- https://master.php.net/note/delete/78448 Reject -- https://master.php.net/note/reject/78448 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#131336) next »