Returns a date shifted by a specified number of weeks.
function IncWeek(const AValue: TDateTime; const ANumberOfWeeks: Integer = 1): TDateTime;
TDateTime IncWeek(const TDateTime AValue, const int ANumberOfWeeks = 1);
DateUtils
IncWeek returns the value of the AValue parameter, incremented by ANumberOfWeeks weeks. ANumberOfWeeks can be negative, to return a date N weeks previous.
The time of day specified by the AValue parameter is copied to the result.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|