Table of contents
TOC
Collapse the table of content
Expand the table of content

DateTimeZone.UtcNow

Owen Duncan|Last Updated: 10/5/2018
|
1 Contributor

About

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

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  
© 2018 Microsoft