[Lazarus] DateDif function needed

Giuliano Colla giuliano.colla at fastwebnet.it
Mon Nov 18 18:11:16 CET 2013


Il 18/11/2013 17:46, Hans-Peter Diettrich ha scritto:
> J├╝rgen Hestermann schrieb:
>
>> I still find "CalenderDiff" the best name for this function
>> because it clearly states that differences are calculated for calender
>> dates and not for an homogeneous stream of seconds/hours/days.
>
> This raises immediately the next question: which calendar?
>

I'd say the same used for TDateTime conversions, such as DecodeDate.
How many other calendars does fpc currently support in dateutils unit?

Giuliano





More information about the Lazarus mailing list