DateTimeOffset.Now Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets a DateTimeOffset object that is set to the current date and time on the current computer, with the offset set to the local time's offset from Coordinated Universal Time (UTC).
Assembly: mscorlib (in mscorlib.dll)
Property Value
Type: System.DateTimeOffsetAn object whose date and time is the current local time and whose offset is the local time zone's offset from Coordinated Universal Time (UTC).
The following example uses the Now and Millisecond properties to determine the resolution of the system clock. It displays the time only when the value of its millisecond component has changed.