Indicates whether two date/time values are within a specified number of hours of each other.
function WithinPastHours(const ANow: TDateTime; const AThen: TDateTime; const AHours: Int64): Boolean;
Boolean WithinPastHours(const TDateTime ANow, const TDateTime AThen, const Int64 AHours);
DateUtils
Call WithinPastHours to determine whether the date and time specified by ANow is within AHours hours 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!
|