CENTSPAN parameter

From m204wiki
Revision as of 23:57, 6 February 2012 by JAL2 (talk | contribs) (→‎Description)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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 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.

Some of the $functions affected by this CENTSPAN setting are:

  • $sir_date2n
  • $sir_date2nd
  • $sir_date2nm
  • $sir_date2ns
  • $sir_dateChg
  • $sir_dateChk
  • $sir_dateCnv
  • $sir_dateDif
  • $web_date2n
  • $web_date2nd
  • $web_date2nm
  • $web_date2ns

Some of the Janus SOAP ULI methods affected by this CENTSPAN setting are:

  • StringToDays
  • DaysToString

For more information about CENTSPAN, see CENTSPAN usage.