PHP 8.5.0 Beta 1 available for testing

Voting

: min(seven, five)?
(Example: nine)

The Note You're Voting On

fabio at llgp dot org
18 years ago
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.

<< Back to user notes page

To Top