DEFCENT parameter: Difference between revisions

From m204wiki
Jump to navigation Jump to search
Line 15: Line 15:


==Description==
==Description==
<p>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.</p>
<p>Specifies the default century to use when the date processing routines, specifically <var>[[$DATECNV|$DATECNV]]</var> and <var>[[$DATEDIF|$DATEDIF]]</var>, convert a 2-digit year to a 4-digit year.</p>
<p>If the value of DEFCENT is 20, then a year of 96 is assumed to be 2096. When viewed, the DEFCENT parameter returns the century value, if this parameter is active, or NONE, if it is not.</p>
<p>If the value of DEFCENT is 20, then a year of 96 is assumed to be 2096. When viewed, the DEFCENT parameter returns the century value, if this parameter is active, or NONE, if it is not.</p>
<p>The DEFCENT parameter will undefine the setting of the BASECENT and CENTSPLT parameters.</p>
<p>The DEFCENT parameter will undefine 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]]

Revision as of 12:40, 16 October 2014

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

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, the DEFCENT parameter returns the century value, if this parameter is active, or NONE, if it is not.

The DEFCENT parameter will undefine the setting of the BASECENT and CENTSPLT parameters.