[fpc-pascal] Converting date formats

Ryan Joseph genericptr at gmail.com
Sat Oct 3 18:13:54 CEST 2020


I have some dates formats like this which I would like to convert to TDateTime. Are these supported in the RTL? I tried using the StrToDate functions but I got errors.

program test;
uses
  SysUtils;
begin
  StrToDate('2001-12-14T21:59:43.10Z-05:00');
end.

Regards,
	Ryan Joseph



More information about the fpc-pascal mailing list