Returns the number of days (including fractional days) between two specified TDateTime values.
function DaySpan(const ANow: TDateTime; const AThen: TDateTime): Double;
Double DaySpan(const TDateTime ANow, const TDateTime AThen);
DateUtils
Call DaySpan to obtain the difference, in days, between two TDateTime values. Unlike the DaysBetween function, which only counts whole days, DaySpan reports incomplete days as a fraction of an entire day.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|