This code should work in Delphi XE2, but it gives \"not a valid date and time\" error in StrtoDateTime conversion:
procedure TForm2.Button1Click(Sender: TObj
You have two issues
You can't use a WhiteSpace as DateSeparator, because the internal routines to parse the string uses this character to determine the date and time parts of the string.
The StrToDateTime function does not work when the months part use the mmm
string, this is reported in this QC 23301