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