Click or drag to resize
Datetime Constructor
Overload List
  NameDescription
Public methodDatetime
Constructs a Datetime object with each part initialized to an unset state.
Public methodDatetime(DateTime)
Creates Datetime object from System.DateTime
Public methodDatetime(Datetime)
Constructs a Datetime object having the same values as specified 'other' Datetime object.
Public methodDatetime(Int32, Int32, Int32)
Creates Datetime object having the Date portion set to the specified values. The time and timezone offset are in the unset state.
Public methodDatetime(Int32, Int32, Int32, Int32)
Creates Datetime object having the Time portion set to the specified values. The Date and timezone offset are in the unset state.
Public methodDatetime(Int32, Int32, Int32, Int32, Int32, Int32, Int32)
Creates Datetime object having the Date and Time portions set to the specified values. The timezone offset is in the unset state.
Top
See Also