DEFCENT parameter

From m204wiki
Revision as of 16:46, 8 February 2018 by JAL (talk | contribs) (misc formatting)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Default century


Default value
The current century when the system is started.
Parameter type
Where set
On User 0's parameter line or by any user
Related products
Model 204 V4.1


DEFCENT specifies the default century to use when the date processing routines, specifically $DateCnv and $DateDif, convert a 2-digit year to a 4-digit year.

If the value of DEFCENT is 20, then a year of 96 is assumed to be 2096. When viewed, DEFCENT returns the century value, if this parameter is active, or NONE, if it is not.

The DEFCENT parameter will un-define the setting of the BASECENT and CENTSPLT parameters.