Indicates whether two date/time values are within a specified number of minutes of each other.
function WithinPastMinutes(const ANow: TDateTime; const AThen: TDateTime; const AMinutes: Int64): Boolean;
Boolean WithinPastMinutes(const TDateTime ANow, const TDateTime AThen, const Int64 AMinutes);
DateUtils
Call WithinPastMinutes to determine whether the date and time specified by ANow is within AMinutes minutes of the date and time specified by AThen.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|