Used to store date/time values. Once a date is created, it cannot be modified, but you can create new dates by applying a DateInterval to an existing date.
Xojo.Core.Date uses ICU (International Components for Unicode) for its date handling, supporting dates starting from 0001-Jan-01 and switching between Julian and Gregorian calendars on 1582-Oct-04.
You cannot use Dim d As New Date to get the current date. Instead, use Dim d As Date = Date.Now or more simply, just Date.Now.
To compare dates, use the SecondsFrom1970 property:
If myDate.SecondsFrom1970 > yourDate.SecondsFrom1970 Then
// myDate is greater than yourDate
Xojo.Core.DateInterval, Xojo.Core.TimeZone, Date classes