Bridge

DateTime Constructor

Overload List


  Name Description
Public method DateTime(Int64)
Initializes a new instance of the DateTime structure to a specified number of ticks.
Public method 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).
Public method DateTime(Int32, Int32)
Public method DateTime(Int32, Int32, Int32)
Initializes a new instance of the DateTime structure to the specified year, month, and day.
Public method DateTime(Int32, Int32, Int32, Int32)
Public method DateTime(Int32, Int32, Int32, Int32, Int32)
Public method 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.
Public method 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.