note 43068 added to function.gregoriantojd

From: Date: Tue, 08 Jun 2004 20:04:03 +0000
Subject: note 43068 added to function.gregoriantojd
Groups: php.notes 
Request: Send a blank email to php-notes+get-70542@lists.php.net to get a copy of this message
This function also ignores decimal fractions in JD dates, and it uses non-standard format for returning the Gregorian date. So, if your JD date is 2453056.28673, the Gregorian returned value is 2/20/2004, not "2004-02-20 23:45:36" The decimal part is important, since the Julian day begins at noon, for example 2453056.49 is on Friday, 2453056.50 is on Saturday. Discarding the decimal part means that your returned Gregorian Date will be wrong 50% of the time. ---- Manual Page -- http://www.php.net/manual/en/function.gregoriantojd.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+43068 Delete -- http://master.php.net/manage/user-notes.php?action=delete+43068&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+43068&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#70542) next »