I am looking for a function to reverse any string (YYYYMDD,YY/MM/DD,YYMMDD,...) created by the function FormatDateTime to
YYYYMDD
YY/MM/DD
YYMMDD
I know its too late but just for interest sake, with Delphi XE6 onwards you can now do the following
uses System.DateUtils; var dt: TDateTime; begin dt := ISO8601ToDate('20190408'); end.
dt will now be 2019/04/08