The DateAndTime type exposes the following members.

Constructors

  NameDescription
Public methodDateAndTime(DateTime)
Construct using dateTime object
Public methodDateAndTime(Double)
Constructs using decimal input

Methods

  NameDescription
Public methodEquals
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from ValueType.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)

Fields

  NameDescription
Public fieldday
Day
Public fielddayOfWeek
Day of week
Public fielddayOfYear
Day of year
Public fieldhour
Hour
Public fieldmicroSecond
Micro second
Public fieldmilliSecond
Millisecond
Public fieldminute
Minute
Public fieldmonth
Month
Public fieldsecond
Second
Public fieldyear
Year

See Also