For simple date time conversions check the ShortDateFormat := 'dd/mm/yyyy'; before converting StrToDateDef(MyDate, 0);
FWIW setting those variables in SysUtils (ShortDateFormat et al.) is not thread safe. So if you are using threads you may run into issues. cheers, Jeremy _______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: [email protected] Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe
