System.DateUtils.MinuteSpan
Delphi
function MinuteSpan(const ANow, AThen: TDateTime): Double;
C++
extern DELPHI_PACKAGE double __fastcall MinuteSpan(const System::TDateTime ANow, const System::TDateTime AThen);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.DateUtils.pas System.DateUtils.hpp |
System.DateUtils | System.DateUtils |
Description
Returns the number of minutes, including fractions thereof, between two specified TDateTime values.
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.
MinuteSpan always returns a positive result and therefore the parameter values are interchangeable.
See Also