Dear All,
I don't know whether i am in the right newsgroup. Anyway, I
would like to know how to change windows' regional date setting
(eg. dd/mm/yyyy) from Delphi 6? It is because my program has to
accept one format i.e. dd/mm/yyyy. but there are different
date format for different PCs. If my program run on the PC
where the date format is different, i will get the exception
error '... is not a valid date'.
I hope someone can assist me. Thanks in advance.
Regards,
LSG
My source code :-
Application.UpdateFormatSettings := true;
ShortDateFormat := 'dd/mm/yyyy';
decodedate(