One of the database tests fails for all databases on handling a date of
1-1-1.
It seems like that there is a 'MinDateTime' defined in sysstrh.inc as
follows:
MinDateTime: TDateTime = -657434.0; { 01/01/0100 12:00:00.000 AM }
Why? Why the year 100, and why 12 AM and not 00:00(24h). In several
places an exception is raised if you try to use a TDateTime before this
date. But why this happens is not clear. Dates before the year 100 works
perfectly, except for this hard-coded exception.
So why is it there?
Joost.
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel