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