Difference Between Dates and Optional Times
Times are in 00:00 to 24:00 Format
PHP Program by Jay Tanner
Start Date
: ±Y M D
Start Time
: HH:MM:SS
:
:
Calendar Mode
:
Julian
Gregorian
End Date
: ±Y M D
End Time
: HH:MM:SS
:
:
Calendar Mode = Gregorian Start Date/Time = 2024 November 21 Thu 00:00:00 Julian Date = 2460635.5 Julian Day Number = 2460636 -------------------- End Date/Time = 2099 December 19 Mon 00:00:00 Julian Date = 2488058.5 Julian Day Number = 2488059 =================================================== DIFFERENCE BETWEEN THE DATES AND TIMES = EndDate − StartDate = 27423 d = 75.0816238526 Gregorian yr = 27423d 00h 00m 00s = 3917wk 4d 00h 00m 00s ==================== 2024 November Su Mo Tu We Th Fr Sa 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 ==================== 2099 December Su Mo Tu We Th Fr Sa 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Jay Tanner - 2024