Hi
I'm not too experienced in Delphi, so I have a little problem using FormatDateTime. I read the help file but maybe I can't see the exaplanation how to solve my problem:
I need to convert string into date, example: 'September 15th, 2015'.
How to convert this into TDate?
Any advise?
Thank you
JD
I'm not too experienced in Delphi, so I have a little problem using FormatDateTime. I read the help file but maybe I can't see the exaplanation how to solve my problem:
I need to convert string into date, example: 'September 15th, 2015'.
How to convert this into TDate?
Code:
var myDate:TDate;
str:string;
begin
str:='September 15th, 2015';
myDate:=FormatDateTime(??);
end;
Any advise?
Thank you
JD