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