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 December 21 Sat 00:00:00 Julian Date = 2460665.5 Julian Day Number = 2460666 -------------------- End Date/Time = 2026 June 13 Sun 00:00:00 Julian Date = 2461212.5 Julian Day Number = 2461213 =================================================== DIFFERENCE BETWEEN THE DATES AND TIMES = EndDate − StartDate = 547 d = 1.4976351328 Gregorian yr = 547d 00h 00m 00s = 78wk 1d 00h 00m 00s ==================== 2024 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 ==================== 2026 June 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
Jay Tanner - 2024