Skip to content

AddSeconds

Shaun Lawrence edited this page Aug 12, 2020 · 2 revisions

Returns the supplied date with the specified number of seconds added.

AddSeconds(date, numberOfSeconds)

Parameters

date

The date that will have the numberOfSeconds added.

Type DateTime
Required Yes

numberOfSeconds

The number of seconds to add to the date.

Type Double
Required Yes

Examples

AddSeconds(#now#, 2)

Adds 2 seconds to the current date/time.

AddSeconds(#now#, -2)

Subtracts 2 seconds from the current date/time.

Clone this wiki locally