[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Assembly: mscorlib (in mscorlib.dll)
- Type: System..::..DateTime
A date and time.
- Type: System..::..DateTimeKind
One of the enumeration values that indicates whether the new object represents local time, UTC, or neither.
A DateTime object consists of a Kind field that indicates whether the time value is based on local time, Coordinated Universal Time (UTC), or neither, and a Ticks field that contains a time value measured in 100-nanosecond ticks. The method creates a new DateTime object using the specified kind parameter and the original time value.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.