Gets a DateTime object that is set to the current date and time on this computer, expressed as the Coordinated Universal Time (UTC).
Day and Night Map View current local time, in any place in the world GMT/UTC time difference to time zones in: USA Australia Europe Africa Asia South America. AM/PM in Europe 12 PM is noon. 12 AM is midnight. Big Ben Time Play chimes, or make a mini quiz (external site) World Times, choose a continent and a country. Converting UTC to Los Angeles Time. This time zone converter lets you visually and very quickly convert UTC to Los Angeles, California time and vice-versa.
An object whose value is the current UTC date and time.
The following example uses the SpecifyKind method to demonstrate how the Kind property influences the ToLocalTime and ToUniversalTime conversion methods.
The GetUtcOffset method recognizes only the current daylight saving time adjustment rule for the local time zone. As a result, it is guaranteed to accurately return the UTC offset of a local time only during the period in which the latest adjustment rule is in effect. Users may wish to convert the time zone (frequently in UTC) to their local time. This is due to services passing dates through in varying formats or time zones. Each connector may use a different datetime format or time zone. Some services use strictly UTC time to avoid confusion. A time expressed in UTC is essentially the time on the whole planet. A time expressed in GMT is the time in the timezone of the Greenwich meridian. In current computer science problems (and probably most scientific ones) UTC and GMT expressed in absolute value happen to have identical values so they have been used interchangeably.
The resolution of this property depends on the system timer, which depends on the underlying operating system. It tends to be between 0.5 and 15 milliseconds.
Starting with the .NET Framework version 2.0, the return value is a DateTime whose Kind property returns DateTimeKind.Utc.
An alternative to using UtcNow is DateTimeOffset.UtcNow. While the former indicates that a date and time value is Coordinated Universal Time (UTC) by assigning DateTimeKind.Utc to its Kind property, the latter assigns the date and time value the UTC time's offset (equal to TimeSpan.Zero).