note 77541 deleted from function.strtotime by levim

From: Date: Fri, 12 Jul 2013 16:36:51 +0000
Subject: note 77541 deleted from function.strtotime by levim
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-195594@lists.php.net to get a copy of this message
Note Submitter: btherl at yahoo dot com dot au ---- Another inconsistency between versions: <?php 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.

« previous php.notes (#195594) next »