setDateYearAbsolute
setDateYearAbsolute(day: Integer; month: Integer; year: Integer) updating;
The setDateYearAbsolute method of the Date primitive type sets the receiver to a specific absolute date. Use this method to specify a date in any year.
The integer values that you define in the day, month, and year variables are initialized when your method is invoked.
The following example shows the use of the setDateYearAbsolute method.
testAbsoluteDateSet(); vars date : Date; begin date.setDateYearAbsolute(31, 08, 1); write date; // Outputs 31 August 0001 end;