I have string with the text "Wed, 03 Aug 2011 18:51:33 +0000"
How can I convert it to date format e.g. 03/08/2011 18:51:33
var myDate : TDateTime;
begin myDate := StrToDate('Wed, 03 Aug 2011 18:51:33 +0000'); ShowMessage(DateTimeToStr(myDate));
end;
ERROR: 'Wed, 03 Aug 2011 18:51:33 +0000' is not a valid date