note 77541 added to function.strtotime

From: Date: Mon, 03 Sep 2007 02:33:58 +0000
Subject: note 77541 added to function.strtotime
Groups: php.notes 
Request: Send a blank email to php-notes+get-130114@lists.php.net to get a copy of this message
Another inconsistency between versions: print date('Y-m-d H:i:s', strtotime('today')) . "\n"; print date('Y-m-d H:i:s', strtotime('now')) . "\n"; In PHP 4.4.6, "today" and "now" are identical, meaning the current timestamp. In PHP 5.1.4, "today" means midnight today, and "now" means the current timestamp. ---- Server IP: 202.79.178.90 Probable Submitter: 202.156.12.10 (proxied: 218.212.114.103) ---- Manual Page -- http://www.php.net/manual/en/function.strtotime.php Edit -- https://master.php.net/note/edit/77541 Del: integrated -- https://master.php.net/note/delete/77541/integrated Del: useless -- https://master.php.net/note/delete/77541/useless Del: bad code -- https://master.php.net/note/delete/77541/bad+code Del: spam -- https://master.php.net/note/delete/77541/spam Del: non-english -- https://master.php.net/note/delete/77541/non-english Del: in docs -- https://master.php.net/note/delete/77541/in+docs Del: other reasons-- https://master.php.net/note/delete/77541 Reject -- https://master.php.net/note/reject/77541 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#130114) next »