[fpc-devel] scandatetime testing needed

Michael Van Canneyt michael at freepascal.org
Sun Jan 2 02:25:23 CET 2005

On Sun, 23 Sep 2007, Marco van de Voort wrote:

> Today I tried to make one of the routines I had lying around RTL inclusion
> ready. The routine tries to be the inverse of formatdatetime, and is
> destined for dateutils.
> Currently (at 03:47 am) it is more or less working, though some testing
> and general remarks would be nice.
> The current situation (FPC and D7 compilable) is at
> http://www.stack.nl/~marcov/scandatetest.dpr
> Some -S2h-ifying probably needs to be done also before inclusion.

Many of the constants you use are also in sysutils/dateutils.
Other than that it looks good. It'll come in handy for all the database drivers. 
They more or less do all the parsing/scanning themselves now...


More information about the fpc-devel mailing list