DateTime Constructor
Overload List
Name | Description | |
---|---|---|
![]() |
DateTime(Int64) |
Initializes a new instance of the DateTime structure to a specified number of ticks.
|
![]() |
DateTime(String) |
String value representing a date. The string should be in a format recognized by the Date.parse() method (IETF-compliant RFC 2822 timestamps and also a version of ISO8601).
|
![]() |
DateTime(Int32, Int32) | |
![]() |
DateTime(Int32, Int32, Int32) |
Initializes a new instance of the DateTime structure to the specified year, month, and day.
|
![]() |
DateTime(Int32, Int32, Int32, Int32) | |
![]() |
DateTime(Int32, Int32, Int32, Int32, Int32) | |
![]() |
DateTime(Int32, Int32, Int32, Int32, Int32, Int32) |
Initializes a new instance of the DateTime structure to the specified year, month, day, hour, minute, and second.
|
![]() |
DateTime(Int32, Int32, Int32, Int32, Int32, Int32, Int32) |
Initializes a new instance of the DateTime structure to the specified year, month, day, hour, minute, second, and millisecond.
|