!Century_Divider

The !Century_Divider system variable is intended to help ensure that two-digit-year format dates do not adversely affect existing PV‑WAVE applications. This is intended as a temporary solution to the year 2000 problem. We recommend that all PV‑WAVE code be updated with four-digit year dates.

If set to –1 (the default), PV‑WAVE behaves as in versions before 6.21. That is, any date in a two-digit year format is interpreted as being between January 1, 1901 and December 31, 1999. Furthermore, when !Century_Divider is set to –1, a two-digit year of 00 is interpreted as Julian date zero (September 9, 1752). For more information on how dates are handled in PV‑WAVE, refer to the chapter Chapter 8, Working with Date/Time Data, in the PV‑WAVE User Guide.

If set in the range {0–99}, the !Century_Divider value represents the maximum of the hundred year span encompassed by two-digit year dates. In other words, if !Century_Divider is set to 35, then all two-digit year dates encountered in PV‑WAVE are interpreted to be in the range {1935..2034}. Therefore, the date 01-31-35 refers to January 31, 1935; 01-31-99 refers to January 31, 1999; and 01-31-34 refers to January 31, 2034.

If !Century_Divider is set to 0 or a value greater than 99, the two-digit year is added to 2000.