Click or drag to resize

Date Methods

The Date type exposes the following members.

Methods
  NameDescription
Public methodAddDays
Adds Days
Public methodClone
Clones the Date object
Public methodCompareTo(Object)
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
Public methodCompareTo(Date)
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
Public methodEquals(Object)
Determines whether the specified object is equal to the current object.
(Overrides ObjectEquals(Object).)
Public methodEquals(Date)
Indicates whether the current object is equal to another object of the same type.
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
Serves as the default hash function.
(Overrides ObjectGetHashCode.)
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 methodStatic memberParse
Parses a string into a Date.
Public methodToDateTime
Returns a datetime for SoxDate
Public methodToString
returns a string representation in 'yyyy-MM-dd' format
(Overrides ObjectToString.)
Public methodToString(String)
returns a string in specified format
Public methodToString(String, IFormatProvider)
Formats the value of the current instance using the specified format.
Top
See Also