[fpc-pascal] Explicit date from double format

Marco van de Voort marcov at stack.nl
Wed Sep 29 22:31:08 CEST 2004


> > Or you might scan the strings created by DateToStr. That'd be 
> > quick-n-dirty, though :-)
> > 
> > Anton.
> > 
> 
> Or, simpler, use DecodeDateTime function from DateUtils unit. It's even 
> Delphi-compatible. I'm not sure whether it exists in FPC 1.0.x (even if 
> not, it's probably possible to just compile DateUtils unit sources from 
> FPC 1.9.4 using FPC 1.0.10), but it exists in FPC 1.9.x for sure.

Correct, except for the detail that 1.9(.0), and maybe 1.9.2 don't have
dateutils. It was a later addition to the 1.9.x branch.

At first sight, dateutils seems to not use 1.9.x features, so it could
be that it indeed compiles under 1.0.10




More information about the fpc-pascal mailing list