[Fwd: Re: [fpc-devel] Magic numbers used in TryEncodeDate]

Graeme Geldenhuys graemeg.lists at gmail.com
Sat Apr 22 12:31:20 CEST 2006


On 22/04/06, Bram Kuijvenhoven <kuifwaremailinglists at xs4all.nl> wrote:
> IIRC this is commonly solved by differentiating between th Gregorian and Julian Calendar. I.e. the EncodeDate function etc. work with the Gregorian Calendar. Before that date in 1752 people used the Julian Calendar, but we map all TDateTimes to Gregorian dates.
>

This makes sense.  As far as I know, in most Calender components,
there is an option to specify which calender system to use (Gregorian,
Julian, etc..) and Gregorian being the default.

Bottom Line:
  *Don't* invent a time travel machine!   :-)

Regards,
  - Graeme -


--
There's no place like 127.0.0.1


More information about the fpc-devel mailing list