[fpc-devel] MinDateTime is 100 AD ?

Joost van der Sluis joost at cnoc.nl
Mon Jul 2 21:46:44 CEST 2007


Hi all,

In sysstrh.inc MinDateTime is defined as follows:

  { For floattodatetime }
  MinDateTime: TDateTime = -657434.0;     { 01/01/0100 12:00:00.000 AM }
  MaxDateTime: TDateTime =  2958465.99999;{ 12/31/9999 11:59:59.999 PM }

Why is that? Datetimes before 100AD works perfectly. Can I change it to
01/01/01 ? (Why does this restriction exist at all?!?)

Regards,
  Joost.




More information about the fpc-devel mailing list