[fpc-devel] Magic numbers used in TryEncodeDate]

Graeme Geldenhuys graemeg.lists at gmail.com
Sun Apr 23 18:20:34 CEST 2006

Not sure if this came through the list before....

Graeme .

---------- Forwarded message ----------
From: Graeme Geldenhuys <graemeg.lists at gmail.com>
Date: 22-Apr-2006 12:31
Subject: Re: [Fwd: Re: [fpc-devel] Magic numbers used in TryEncodeDate]
To: FPC developers' list <fpc-devel at lists.freepascal.org>

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!   :-)

  - Graeme -

There's no place like

More information about the fpc-devel mailing list