I just noticed that the definition of the constants have 0.5 in it. Why?
from dateh.inc
const
JulianEpoch = TDateTime(-2415018.5);
UnixEpoch = JulianEpoch + TDateTime(2440587.5);Dennis

Mailing lists / fpc-pascal / 2017-08
6 messages · 5 people ·
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
I just noticed that the definition of the constants have 0.5 in it. Why?
from dateh.inc
const
JulianEpoch = TDateTime(-2415018.5);
UnixEpoch = JulianEpoch + TDateTime(2440587.5);Dennis
Hi,
wiki https://en.wikipedia.org/wiki/Julian_day says that "... Julian day number 0 assigned to the day starting at noon on January 1, 4713 BC, ..." The noon means 0,5.
V.
______________________________________________________________
I just noticed that the definition of the constants have 0.5 in it. Why?
from dateh.inc
const
JulianEpoch = TDateTime(-2415018.5);
UnixEpoch = JulianEpoch + TDateTime(2440587.5);Dennis
Hi,
wiki https://en.wikipedia.org/wiki/Julian_day says that "... Julian day number 0 assigned to the day starting at noon on January 1, 4713 BC, ..." The noon means 0,5.
V.
______________________________________________________________
I just noticed that the definition of the constants have 0.5 in it. Why?
from dateh.inc
const
JulianEpoch = TDateTime(-2415018.5);
UnixEpoch = JulianEpoch + TDateTime(2440587.5);Dennis
Thanks,
that is a weird definition though IMHO.
Dennis
Dennis Poon wroteVojtěch Čihák wrote:>> Hi,>> wiki https://en.wikipedia.org/wiki/Julian_day says that "... Julian > day number 0 assigned to the day starting at noon on January 1, 4713 > BC, ...">> The noon means 0,5.>Thanks,that is a weird definition though IMHO.
Astronomer's convention.
I just noticed that the definition of the constants have 0.5 in it. Why? from dateh.inc…
Actually the Julian calendar started at noon, the 0.5 is added to get to midnight. The Julian calendar was developed for astronomers, who view the sky when it gets dark and want all observing to be referenced to the same date. Us normal people start our day at midnight so we have to add the extra half day. -- Paul