DateTimeZone.UtcNow

Syntax

DateTimeZone.UtcNow() as datetimezone

About

Returns the current date and time in UTC (the GMT timezone).

Example 1

Get the current date & time in UTC.

Usage

DateTimeZone.UtcNow()

Output

#datetimezone(2011, 8, 16, 23, 34, 37.745, 0, 0)