Hey Myles
Didn't 3.01 have that bug of several days (counting all multiples of 100 as
leap years instead of missing out most of the 400s or something - they
should have asked a Maths teacher)?
Wayne
-----Original Message-----
From: Myles Penlington [mailto:[EMAIL PROTECTED]]
Sent: Friday, 15 June 2001 14:40
To: Multiple recipients of list delphi
Subject: RE: [DUG]: Dates On NT4
Watchout - Are you using a buggy Delphi version? - 3.x (.01?) had a date bug
of 1 day - however Delphi Date 0 = 30-Dec-1899 - Same as MS SQL etc as far
as I know - this is because they both use the same date format - as
supported by variants - a Double.
>Be careful though - Delphi's TDateTime are based on 0 = 1/1/1900 while some
>SQL databases (MSSQL...) use 0 = 30/12/1899 !!!!!
>
>HTH
>
>Stephen
Or do you mean some other DB's base their date on 0 = 1-Jan-1900??
Myles.
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"