> Note that StrToDateTime can't handle '11/1/04' - depending on system > settings it'll silently be converted to one of 11 jan or 1 Nov.
Well depending on system settings either result would be correct though. There is no error there. If the system had US regional settings, it'd be November 1. If the system had NZ or Aus (and other countries that display dates logically ;-)) it'd be 11 Jan. > And it uses - I think - ShortDateFormat which I can never remember what its set to - > so it will return an error for some formats even though the date'd be correct in other You can read and modify the ShortDateFormat in your code. There is a variable in SysUtils that you can set the shortdate format to be whatever you want, therefore ignoring the regional settings. cheers, JED _______________________________________________ Delphi mailing list [EMAIL PROTECTED] http://ns3.123.co.nz/mailman/listinfo/delphi
