Arguments
yy —century value; must be in the range 0 through 99. The value determines the century as follows:
- If the year part of a date is greater than or equal to yy, the century part of the date is 1900.
- If the year part of a date is less than yy, the century part of the date is 2000.
- If $CENTURY_BREAK is not present, the century is determined from the system date.
Defaults
Assignment file: | client assignment files, |
Section: | [SETTINGS] |
Default value: | None |
Description
$CENTURY_BREAK determines how the century part of a Date or Datetime value is computed when the century is not explicitly provided.
$CENTURY_BREAK
The following assignment setting specifies that dates from:
- 1-Jan-10 through 31-Dec-99 are in the twentieth century (1900s).
- 1-Jan-00 through 31-Dec-09 are in the twenty-first century (2000s).
$CENTURY_BREAK = 10
In this case, 1-Jan-15 is interpreted as 1-Jan-1915, while 1-Jan-05 is interpreted as 1-Jan-2005.