note 68798 added to function.unixtojd
| From: | php-general at lists dot php dot net | Date: | Fri, 11 Aug 2006 02:22:42 +0000 |
| Subject: | note 68798 added to function.unixtojd | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-115781@lists.php.net to get a copy of this message | ||
Its clearly stated that this function returns the Julian Day, not Julian Day + time.
If you want the time with it you will have to do something like:
$t=time();
$jd=unixtojd($t)+($t%60*60*24)/60*60*24;
----
Server IP: 83.137.200.2
Probable Submitter: 84.49.226.59
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.unixtojd.php
Edit -- https://master.php.net/note/edit/68798
Del: integrated -- https://master.php.net/note/delete/68798/integrated
Del: useless -- https://master.php.net/note/delete/68798/useless
Del: bad code -- https://master.php.net/note/delete/68798/bad+code
Del: spam -- https://master.php.net/note/delete/68798/spam
Del: non-english -- https://master.php.net/note/delete/68798/non-english
Del: in docs -- https://master.php.net/note/delete/68798/in+docs
Del: other reasons-- https://master.php.net/note/delete/68798
Reject -- https://master.php.net/note/reject/68798
Search -- https://master.php.net/manage/user-notes.php