Click or drag to resize

Date Operators and Type Conversions

The Date type exposes the following members.

Operators
 NameDescription
Public operatorStatic memberAddition(Date, Int32)Adds a number of days to a date.
Public operatorStatic memberDecrement(Date)Decrements a date by a day.
Public operatorStatic memberEquality(Date, Date)Compares two dates for equality.
Public operatorStatic member(Date to DateOnly)Converts a date into a standard date-only struct.
Public operatorStatic member(Date to DateTime)Converts a date into a date and time.
Public operatorStatic member(Date to UInt32)Converts a date to an unsigned integer.
Public operatorStatic member(DateTime to Date)Converts a date and time into a date.
Public operatorStatic memberGreaterThan(Date, Date)Checks if the first date comes later the second.
Public operatorStatic memberGreaterThanOrEqual(Date, Date)Checks if the first date is equal or comes before the second.
Public operatorStatic memberIncrement(Date)Increments a date by a day.
Public operatorStatic memberInequality(Date, Date)Compares two dates for inequality.
Public operatorStatic memberLessThan(Date, Date)Checks if the first date comes before the second.
Public operatorStatic memberLessThanOrEqual(Date, Date)Checks if the first date is equal comes before the second.
Public operatorStatic memberSubtraction(Date, Date)Gets the number of days between two dates.
Public operatorStatic memberSubtraction(Date, Int32)Subtracts a number of days from a date.
Top
See Also