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

<cDateTime>.AddMinutes

Previous pageReturn to chapter overviewNext page

 

Description

 

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

You can subtract by using a negative number.

 

Syntax

 

<cDateTime>.AddMinutes(nMinutes)

 

Returns

 

None.

 

Parameters

 

Name

Type

Optional

Meaning

nMinutes

Numeric

No

Positive or negative minutes to add or subtract

 

Remarks

 

Restrictions

 

See also

 

Examples