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