Product SiteDocumentation Site

5.4.3.26. addWeeks


>>-addWeeks(weeks)------------------------------------------><

Adds weeks to the TimeSpan object, returning a new TimeSpan instance. The receiver TimeSpan object is unchanged. The weeks value must be a valid number, including fractional values. Negative values result in week being subtracted from the TimeSpan value.