CENTSPAN parameter: Difference between revisions
Jump to navigation
Jump to search
m (→Description) |
m (misc cleanup) |
||
(9 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{Template:CENTSPAN parameter subtitle}} | |||
==Summary== | ==Summary== | ||
<dl> | <dl> | ||
Line 10: | Line 11: | ||
<dd>All | <dd>All | ||
<dt>Introduced | <dt>Introduced | ||
<dd>Before | <dd>Before <var class="product">Sirius Mods</var> 6.7 | ||
</dl> | </dl> | ||
==Description== | ==Description== | ||
The CENTSPAN system parameter is a numeric parameter that indicates the default | The <var>CENTSPAN</var> system parameter is a numeric parameter that indicates the default | ||
CENTSPAN value to be used in a wide variety of $functions for the processing of dates containing two-digit years. | <var>CENTSPAN</var> argument | ||
The default setting for CENTSPAN (-50) means that start of the assumed range | value to be used in a wide variety of $functions for the processing of dates containing two-digit years. | ||
The default setting for <var>CENTSPAN</var> (-50) means that start of the assumed range | |||
for two-digit years (in affected $functions) is 50 years before the current date. | for two-digit years (in affected $functions) is 50 years before the current date. | ||
The minimum value of <var>CENTSPAN</var> is -99 and | |||
the maximum value is 9900. | |||
Some of the $functions affected by the <var>CENTSPAN</var> parameter are: | |||
<ul> | |||
<li><var>[[$Sir_Date2N]]</var> </li> | |||
<li><var>[[$Sir_Date2ND]]</var> </li> | |||
<li><var>[[$Sir_Date2NM]]</var> </li> | |||
<li><var>[[$Sir_Date2NS]]</var> </li> | |||
<li><var>$Sir_DateChg</var>, <var>$Sir_DateChk</var>, <var>$Sir_DateCnv</var>, <var>$Sir_DateDif</var> (see [[Media:SirfieldNew.pdf|Sir2000 Field Migration Facility]]) </li> | |||
Some of the | <li><var>[[$Web_Date2D, $Web_Date2N, $Web_Date2ND, $Web_Date2NM, $Web_Date2NS|$Web_Date2N]]</var> </li> | ||
<li><var>[[$Web_Date2D, $Web_Date2N, $Web_Date2ND, $Web_Date2NM, $Web_Date2NS|$Web_Date2ND]]</var> </li> | |||
<li><var>[[$Web_Date2D, $Web_Date2N, $Web_Date2ND, $Web_Date2NM, $Web_Date2NS|$Web_Date2NM]]</var> </li> | |||
<li><var>[[$Web_Date2D, $Web_Date2N, $Web_Date2ND, $Web_Date2NM, $Web_Date2NS|$Web_Date2NS]]</var> </li> | |||
</ul> | |||
Some of the <var class="product">SOUL</var> methods affected by the <var>CENTSPAN</var> parameter are: | |||
<ul> | <ul> | ||
<li> | <li><var>[[DaysToString (Float_function)|DaysToString]]</var> </li> | ||
<li> | |||
<li> | <li><var>[[MillisecondsToString (Float_function)|MillisecondsToString ]]</var> </li> | ||
<li> | |||
<li> | <li><var>[[SecondsToString (Float_function)|SecondsToString]]</var> </li> | ||
<li> | |||
<li> | <li><var>[[StringToDays (String_function)|StringToDays]]</var> </li> | ||
< | |||
<li> | <li><var>[[StringToMilliseconds (String_function)|StringToMilliseconds]]</var> </li> | ||
<li> | |||
< | |||
< | |||
</ | |||
<li><var>[[StringToSeconds (String_function)|StringToSeconds]]</var> </li> | |||
<li><var>[[ | |||
<li | |||
<li><var>[[ | <li><var>[[TimeStringConvert (String_function)|TimeStringConvert]]</var> </li> | ||
</ul> | </ul> | ||
For more information about <var>CENTSPAN</var>, see [[Datetime string formats#Using CENTSPAN|Using CENTSPAN]]. | |||
[[Category:System parameters]] | [[Category:System parameters]] | ||
[[Category:Parameters]] | [[Category:Parameters]] |
Latest revision as of 20:42, 22 September 2015
CENTSPAN for date $functions
Summary
- Default value
- -50
- Parameter type
- System
- Where set
- User 0 CCAIN parameters
- Related products
- All
- Introduced
- Before Sirius Mods 6.7
Description
The CENTSPAN system parameter is a numeric parameter that indicates the default CENTSPAN argument value to be used in a wide variety of $functions for the processing of dates containing two-digit years. The default setting for CENTSPAN (-50) means that start of the assumed range for two-digit years (in affected $functions) is 50 years before the current date.
The minimum value of CENTSPAN is -99 and the maximum value is 9900.
Some of the $functions affected by the CENTSPAN parameter are:
- $Sir_Date2N
- $Sir_Date2ND
- $Sir_Date2NM
- $Sir_Date2NS
- $Sir_DateChg, $Sir_DateChk, $Sir_DateCnv, $Sir_DateDif (see Sir2000 Field Migration Facility)
- $Web_Date2N
- $Web_Date2ND
- $Web_Date2NM
- $Web_Date2NS
Some of the SOUL methods affected by the CENTSPAN parameter are:
- DaysToString
- MillisecondsToString
- SecondsToString
- StringToDays
- StringToMilliseconds
- StringToSeconds
- TimeStringConvert
For more information about CENTSPAN, see Using CENTSPAN.