[This is preliminary documentation and is subject to change.]

The Date type exposes the following members.

Methods

  NameDescription
AddDays
Add the specified days to the Date
AddMonths
Add the specified months to the Date
AddYears
Add the specified years to the Date
Cast
Casts the object specified in the o parameter to a Date. If the cast fails an InvalidCastException is thrown
CompareTo (Overrides DataTypeBase..::.CompareTo(Object).)
Equals (Overrides Object..::.Equals(Object).)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
FromDateTime
Converts a DateTime to a Date.
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Parse
Parses text and returns the parsed value as Date
ToDateTime
Converts a Date to DateTime
ToStringOverloaded.
Returns a String that represents the current Date. The result string is formatted using the format provided in the format parameter.
Returns a String that represents the value specified in date. The result string is formatted using the format provided in the format parameter.
TryCast
Tries to cast the object specified in the o parameter to a Boolean.

Operators

See Also