Hi, I have found possible bug in SysUtils unit -
function StrToDateTime returns null date ->
this piece of code
---
var
D : TDateTime;
begin
WriteLn(ShortDateFormat);
D := StrToDateTime('1/1/2000');
WriteLn(DateTimeToStr(D));
WriteLn(DateTimeToStr(Now));
end.
---returns:
d/m/y
30-12-1899
15-11-2000 13:02
I'm using 1.0.2 compiler, RedHat 7.0,
what I know, this bug is in fpc 1.1 rtl too.
------------------------------------
Pavel Stingl
mailto:
------------------------------------
