The term Julian date is widely used to refer to the day-of-year (ordinal date) although incorrectly.
Julian day
The term Julian date is widely used to refer to the day-of-year (ordinal date) although incorrectly.
Example
<?php
echo unixtojd();
?>
Output
2456045
Example
<?php
$jdate = juliantojd(8,4,1976);
echo $jdate . “<br />”;
$julian = jdtojulian($jdate);
echo $julian;
?>
Output
2443008
8/4/1976
Example
<?php
echo jewishtojd(3,3,5762);
?>
Output
2452232
It convert Julian Day to Unix timestamp
Example
<?php
$jdate = gregoriantojd(10,3,1970);
echo jdtounix($jdate);
?>
Output
23760000
Example
<?php
$date = juliantojd(9,2,1977);
echo $date . “<br />”;
$julian = jdtojulian($date);
echo $julian;
?>
Output
2443402
9/2/1977
Example
<?php
echo jdtojewish(gregoriantojd(9,7,2000)) . “<br />”;
echo jdtojewish(gregoriantojd(9,7,2000),true);
?>
Output
13/7/5760
æ àìåì äúùñ
<?php
$date = gregoriantojd(9,4,1976);
echo $date . “<br />”;
$gregorian = jdtogregorian($date);
echo $gregorian;
?>
Output
2443026
9/4/1976
Example
<?php
echo jdtofrench(2380644);
?>
Output
2/27/14
Example
<?php
echo jdmonthname (cal_to_jd(CAL_GREGORIAN, date(“m”),date(“d”), date(“Y”)) , 1 );
?>
Output
April