Skip to main content

Date.Offset

Adds an offset to a date.

Syntax​

Date.Offset *date mode offset

Returns​

reference to DateTime object

Arguments​

NameRequiredTypeDescription
dateYesa reference to DateTime object.
modeYesOne of the following options:
> add
> remove
Options: add, remove
offsetYesDuration in format #ms, #s, #m, #h (e.g. 5s or 2m)

Validated examples using this method​

On a running server​

Use serhelp Date.Offset to inspect the reference generated by your installed SER version.