note 94491 added to function.date-diff
| From: | ron dot wiegman at gmail dot com | Date: | Sun, 08 Nov 2009 13:28:11 +0000 |
| Subject: | note 94491 added to function.date-diff | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-162632@lists.php.net to get a copy of this message | ||
You can also leave out the "else" part of the first if-statement, and change the line:
$arrTimes = array(0, 12, date("t", $temp), 24, 60, 60);
to
$arrTimes = array(0, 12, date("t", $ts1), 24, 60, 60);
as $temp will always be $ts1
>> Special thanx to Tobias for sending me the tip <<
----
Server IP: 213.249.64.162
Probable Submitter: 195.241.202.99
----
Manual Page -- http://www.php.net/manual/en/function.date-diff.php
Edit -- https://master.php.net/note/edit/94491
Del: integrated -- https://master.php.net/note/delete/94491/integrated
Del: useless -- https://master.php.net/note/delete/94491/useless
Del: bad code -- https://master.php.net/note/delete/94491/bad+code
Del: spam -- https://master.php.net/note/delete/94491/spam
Del: non-english -- https://master.php.net/note/delete/94491/non-english
Del: in docs -- https://master.php.net/note/delete/94491/in+docs
Del: other reasons-- https://master.php.net/note/delete/94491
Reject -- https://master.php.net/note/reject/94491
Search -- https://master.php.net/manage/user-notes.php