Demo of Unix timestamp, Julian day and calendar

Convert a timestamp to Julian Day and calendar values

Convert explicitly between Unix timestamp and Julian Day representations.

date_default_timezone_set('UTC');
$timestamp = strtotime('2026-09-14 00:00:00 UTC');
$jd = unixtojd($timestamp);
echo $timestamp . "<br>" . $jd;

Current example first; the detailed examples and demos below are retained for additional learning and comparison.

Month Date Year(yyyy)
Hour Minute Seconds



Subscribe to our YouTube Channel here



plus2net.com











PHP video Tutorials
✖
We use cookies to improve your browsing experience. . Learn more
HTML MySQL PHP JavaScript ASP Photoshop Articles Contact us
© 2000-2026 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer