TAdd function

Official Content
This documentation is valid for:

Returns a DateTime data type value corresponding to seconds added to a DateTime value.

Syntax

TAdd(datetime-expression , numeric-expression)

Type Returned:
Datetime

Scope

Objects: Procedure, Transaction, Web Panel
Generators: .NET, Java, Apple, Android

Description

Returns a DateTime value corresponding to numeric-expression seconds and milliseconds added to the datetime expression datetime-expression.

Samples

You want to add 10 seconds to a datetime variable.

&tadd=tadd(now(), 10)

You want to add 10 seconds with 230 milliseconds to a datetime variable that supports Milliseconds

&tadd=tadd(now(), 10.230)

See Also

TDiff function
AddSeconds method