On Wed, 27 May 2015, silvioprog wrote:
Hello,
This code works fine in Delphi 7 / XE 7:
var
D: TDateTime;
S: string;
begin
D := MaxDateTime;
S := DateTimeToStr(D);
end;
Return: 12/31/9999 11:59:59 PM.
But, in FPC (from trunk), I got a EConvertError:
2958466,00 is not a valid TDatetime encoding, maximum value is 2958466,00
Is this a bug?
Yes. Please report it in the bugtracker.
Michael.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal