Note: If the year is less than or equal to 1899 and greater than or equal to 100, there will be no change to the date.
Parameters
Return value
A DateTime string with a four digit year.
Examples
DTSTo2000("1988-12-12 12:12:12", 90)- Returns 2088-12-12 12:12:12 because the window value is greater than the year, and so the year will be changed to 20XX.DTSTo2000("1988-12-12 12:12:12", 85)- Returns 1988-12-12 12:12:12 because the window value is less than the year, and so the year will not change.DTSTo2000("1899/12/12 1:2:3am", 99)- Returns 1899/12/12 1:2:3am.DTSTo2000("100/12/12 1:02:03AM", 99)- Returns 100/12/12 1:02:03AM.DTSTo2000("98/12/12 1:02:03AM", 99)- Returns 2098/12/12 1:02:03AM.DTSTo2000("98/12/12 1:02:03", 97)- Returns 1998/12/12 1:02:03AM.DTSTo2000("9/12/12 1:02:03AM", 10)- Returns 2009/12/12 1:02:03AM.DTSTo2000("1/12/12 1:02:03AM", 0)- Returns 1901/12/12 1:02:03AM.