DEFCENT parameter: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Automatically generated page update)
m (misc formatting)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Template:DEFCENT parameter subtitle}}
==Summary==
==Summary==
<dl>
<dl>
Line 10: Line 11:
<dd>All
<dd>All
<dt>Introduced
<dt>Introduced
<dd><var class="product">Model 204 V6.1</var> or earlier
<dd><var class="product">Model 204 V4.1</var>  
</dl>
</dl>
==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>
<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>
<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 undefine the setting of the BASECENT and CENTSPLT parameters.</p>
<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.