[Lazarus] Date value "0"
Mark Morgan Lloyd
markMLl.lazarus at telemetry.co.uk
Tue May 26 15:30:47 CEST 2015
Giuliano Colla wrote:
> Il 26/05/2015 13:30, Juha Manninen ha scritto:
>> Regarding issue
>> http://bugs.freepascal.org/view.php?id=27735
>>
>> Is there some convention how to show a date value "0"?
>> By default it shows year 1899. The patch changed it to "?".
>>
>>
>
> Delphi for value 0 shows 12/30/1899 12:00 am:
Which is an entirely valid date, so should be displayed as such; it
could entirely plausibly be a default starting point for e.g.
astronomical calculations.
If it were something like Anno Domini 0, which quite simply never
existed, then it could be displayed as invalid.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
More information about the Lazarus
mailing list