DateTimeKind Enumeration
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Specifies whether a DateTime object represents a local time, a Coordinated Universal Time (UTC), or is not specified as either local time or UTC.
Assembly: mscorlib (in mscorlib.dll)
A member of the DateTimeKind enumeration is returned by the DateTime::Kind property.
The members of DateTimeKind are used with DateTime values in conversion operations between local time and Coordinated Universal Time (UTC), but not in any comparison or arithmetic operation.
The following code example uses the SpecifyKind method to demonstrate how the Kind property influences the ToLocalTime and ToUniversalTime conversion methods.