note 69310 added to function.unixtojd

From: Date: Thu, 31 Aug 2006 09:09:57 +0000
Subject: note 69310 added to function.unixtojd
Groups: php.notes 
Request: Send a blank email to php-notes+get-116534@lists.php.net to get a copy of this message
If you need an easy way to convert an unix timestamp to a decimal julian day you can use: $julianDay = $unixTimeStamp / 86400 + 2440587.5; 86400 is the number of seconds in a day; 2440587.5 is the julian day at 1/1/1970 0:00 UTC. ---- Server IP: 66.163.161.117 Probable Submitter: 87.18.245.42 ---- 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/69310 Del: integrated -- https://master.php.net/note/delete/69310/integrated Del: useless -- https://master.php.net/note/delete/69310/useless Del: bad code -- https://master.php.net/note/delete/69310/bad+code Del: spam -- https://master.php.net/note/delete/69310/spam Del: non-english -- https://master.php.net/note/delete/69310/non-english Del: in docs -- https://master.php.net/note/delete/69310/in+docs Del: other reasons-- https://master.php.net/note/delete/69310 Reject -- https://master.php.net/note/reject/69310 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#116534) next »