Product SiteDocumentation Site

5.4.3.30. addSeconds


>>-addSeconds(seconds)--------------------------------------><

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