DateTimeUtil::addSeconds Method

Adds the specified number of seconds to a utcdatetime value.

Syntax

client server public static utcdatetime addSeconds(utcdatetime t, int64 value)

Run On

Called

Parameters

  • t
    Type: utcdatetime
    A utcdatetime value to which to add seconds.
  • value
    Type: int64
    The number of seconds to add.

Return Value

Type: utcdatetime
A new utcdatetime value.

Remarks

If the value of the value parameter is negative, seconds will be subtracted.

See Also

Reference

DateTimeUtil Class