Try VarToDateTime. JED
-----Original Message----- From: vss [mailto:[EMAIL PROTECTED] Sent: 8 June 2004 1:07 PM To: [EMAIL PROTECTED] Subject: [DUG] StrToDate error Hi all. I have always been under the impression that Delphi's StrToDate would turn a date like '28 May 2004' into a date. BUT, this fails...or in my case because I am using StrToDateDef it returns the date "Now". I have had a quick look, but there does not seem to be a function to handle this in Delphi. Is this correct? or have I missed the function? Jeremy _______________________________________________ Delphi mailing list [EMAIL PROTECTED] http://ns3.123.co.nz/mailman/listinfo/delphi
