Skip to main content

Date.Current

Returns the current date.

Syntax

Date.Current time_zone?

Returns

reference to DateTime object

Arguments

NameRequiredTypeDescription
time zoneNoOne of the following options:
> utc
> local
Options: utc, local

Validated examples using this method

On a running server

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