Navigation:  ThinBASIC Language > thinBasic Functions > Date and Time > cDateTime > cDateTime_Methods >

<cDateTime>.AddSeconds

Previous pageReturn to chapter overviewNext page

 

Description

 

Adds the specified number of seconds to the value of this cDateTime object.

You can subtract by using a negative number.

 

Syntax

 

<cDateTime>.AddSeconds(nSeconds)

 

Returns

 

None.

 

Parameters

 

Name

Type

Optional

Meaning

nSeconds

Numeric

No

Positive or negative seconds to add or subtract

 

Remarks

 

Restrictions

 

See also

 

Examples