DateTimeZone.UtcNow

About

Returns a DateTime value set to the current system date and time in the Utc timezone.

Syntax

DateTimeZone.UtcNow() as datetimezone

Remarks

  • The return value contains timezone information for the Utc timezone (00:00).

Example

DateTimeZone.UtcNow() equals 2011-02-21T06:25:51+00:00