Source Code:
(back to article)
<?php $date = '2023-03-02'; //YYYY-MM-DD format $timestamp = mktime(0, 0, 0, substr($date, 5, 2), substr($date, 8, 2), substr($date, 0, 4)); $jd = jdtojulian($timestamp / 86400 + 2440587.5); echo $jd; ?>
Result:
Report an issue