DEFCENT parameter: Difference between revisions
Jump to navigation
Jump to search
m (misc formatting) |
|||
Line 15: | Line 15: | ||
==Description== | ==Description== | ||
<p> | <p> | ||
<p>If the value of DEFCENT is 20, then a year of 96 is assumed to be 2096. When viewed, | <var>DEFCENT</var> specifies the default century to use when the date processing routines, specifically <var>[[$DateCnv]]</var> and <var>[[$DateDif]]</var>, convert a 2-digit year to a 4-digit year.</p> | ||
<p>The DEFCENT parameter will | <p> | ||
If the value of <var>DEFCENT</var> is 20, then a year of 96 is assumed to be 2096. When viewed, <var>DEFCENT</var> returns the century value, if this parameter is active, or <var>NONE</var>, if it is not.</p> | |||
<p> | |||
The <var>DEFCENT</var> parameter will un-define the setting of the <var>[[BASECENT parameter|BASECENT]]</var> and <var>[[CENTSPLT parameter|CENTSPLT]]</var> parameters.</p> | |||
[[Category:User parameters]] | [[Category:User parameters]] | ||
[[Category:Parameters]] | [[Category:Parameters]] |
Latest revision as of 16:46, 8 February 2018
Default century
Summary
- Default value
- The current century when the system is started.
- Parameter type
- User
- Where set
- On User 0's parameter line or by any user
- Related products
- All
- Introduced
- Model 204 V4.1
Description
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.