mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-14 11:22:50 +02:00
11 lines
201 B
ObjectPascal
11 lines
201 B
ObjectPascal
uses
|
|
dateutils;
|
|
var
|
|
dt : TDateTime;
|
|
begin
|
|
if not(TryISOStrToDateTime('2015-06-30T23:59:60Z',dt)) then
|
|
halt(1);
|
|
if not(TryISOStrToDateTime('2016-12-31T23:59:60Z',dt)) then
|
|
halt(1);
|
|
end.
|