[fpc-devel] Definition of the time-fration in a TDateTime before 30/12/1899

Micha Nelissen micha at neli.hopto.org
Sun May 21 20:49:46 CEST 2006


On Sun, 21 May 2006 16:40:44 +0200 (Romance Daylight Time)
Michael Van Canneyt <michael at freepascal.org> wrote:

> They obviously judged that the idea of
>  TD := EncodeDate()+encodeTime();
> was more important than strict ordering.

If they *did* use this, it *would* all work like you expect! But with
negative values time runs backwards in a day suddenly or so. Weird!

Micha



More information about the fpc-devel mailing list