Parameters
Return value
A Date field with a four digit year.
Examples
DateTo2000(ToDate(1993,12,12), 99)- Returns 2093/12/12 because the window value is greater than the year, and so the date will be changed to 20XX.DateTo2000(ToDate(1993,12,12), 92)- Returns 1993/12/12 because the window value is less than the year, and so the year will not be changed.DateTo2000(ToDate(1899,12,12), 99)- Returns 1899/12/12.
DateTo2000(ToDate(100,12,12), 99)- Returns 100/12/12.
DateTo2000(ToDate (98,12,12), 99)- Returns 2098/12/12.DateTo2000(ToDate (98,12,12), 97)- Returns 1998/12/12.DateTo2000(ToDate (9,12,12), 10)- Returns 2009/12/12.DateTo2000(ToDate (1,12,12), 0)- Returns 1901/12/12.Notes: