You need to set the ShortDateFormat, ie :
ShortDateFormat := 'dd/mm/yyyy';
Do this in the FormShow or FormCreate of the main form.
-----Original Message-----
From: Alex Kouznetsov [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 09, 1999 01:59 PM
To: Multiple recipients of list delphi
Subject: [DUG]: Y2K Delphi bug ?
StrToDate ('29/02/2000')
Doing this in Delphi1 or Delphi4 raises exception : "29/02/2000" is not a
valid date.
Is it a known thing ? Any workarounds ?
Alex
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz