Skip to content

Time Statements

get year in _

The get year in _ stores the current year number in the passed number variable.

Syntax:

1
get year in <number-var>

get month in _

The get month in _ stores the current month number (1 - 12) in the passed number variable.

Syntax:

1
get month in <number-var>

get day in _

The get day in _ stores the current day of the month (1 - 31) in the passed number variable.

Syntax:

1
get day in <number-var>

get hour in _

The get hour in _ stores the current hour in the passed number variable.

Syntax:

1
get hour in <number-var>

get minutes in _

The get minutes in _ stores the current minutes in the passed number variable.

Syntax:

1
get minutes in <number-var>

get seconds in _

The get seconds in _ stores the current seconds in the passed number variable.

Syntax:

1
get seconds in <number-var>

get epoch in _

The get epoch in _ stores the current Unix time (the number of seconds that have elapsed since the Unix epoch, that is the time 00:00:00 UTC on 1 January 1970) in the passed number variable.

Syntax:

1
get epoch in <number-var>