<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://m204wiki.rocketsoftware.com/index.php?action=history&amp;feed=atom&amp;title=Template%3ABenefits_of_%24Sir_Datexxx_datetime_processing</id>
	<title>Template:Benefits of $Sir Datexxx datetime processing - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://m204wiki.rocketsoftware.com/index.php?action=history&amp;feed=atom&amp;title=Template%3ABenefits_of_%24Sir_Datexxx_datetime_processing"/>
	<link rel="alternate" type="text/html" href="https://m204wiki.rocketsoftware.com/index.php?title=Template:Benefits_of_$Sir_Datexxx_datetime_processing&amp;action=history"/>
	<updated>2026-04-19T21:08:20Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://m204wiki.rocketsoftware.com/index.php?title=Template:Benefits_of_$Sir_Datexxx_datetime_processing&amp;diff=105023&amp;oldid=prev</id>
		<title>JAL: copied from m204stage</title>
		<link rel="alternate" type="text/html" href="https://m204wiki.rocketsoftware.com/index.php?title=Template:Benefits_of_$Sir_Datexxx_datetime_processing&amp;diff=105023&amp;oldid=prev"/>
		<updated>2018-01-29T23:10:06Z</updated>

		<summary type="html">&lt;p&gt;copied from m204stage&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;!-- transcluded by at least Sir2000 UL Tools and &amp;quot;Datetime string formats&amp;quot; --&amp;gt;&lt;br /&gt;
&amp;lt;table class=&amp;quot;thJustBold&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;th&amp;gt;SPANSIZE&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;The &amp;lt;var&amp;gt;SPANSIZE&amp;lt;/var&amp;gt; processing creates a very strong barrier to detecting otherwise unnoticed two-digit year processing errors.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;th&amp;gt;Relative &amp;lt;var&amp;gt;CENTSPAN&amp;lt;/var&amp;gt;&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;The relative &amp;lt;var&amp;gt;CENTSPAN&amp;lt;/var&amp;gt; specification (for example, &amp;lt;code&amp;gt;-50&amp;lt;/code&amp;gt;) lets you maintain a flexible &amp;quot;rolling&amp;quot; window for two-digit year processing. &amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;th&amp;gt;Default CENTSPAN&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;One significant advantage of a relative &amp;lt;var&amp;gt;CENTSPAN&amp;lt;/var&amp;gt; is that it allows the default (&amp;lt;code&amp;gt;1990&amp;lt;/code&amp;gt; for [[$Web_Date2D, $Web_Date2N, $Web_Date2ND, $Web_Date2NM, $Web_Date2NS|$Web_Date2&amp;lt;i&amp;gt;xx&amp;lt;/i&amp;gt;]] functions without a format, and &amp;lt;code&amp;gt;-50&amp;lt;/code&amp;gt; otherwise) of a reasonable value without parameter changes in all batch and Online jobs.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;th&amp;gt;Format tokens&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;There is a very large set of tokens in the &amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;Sir2000&amp;lt;/var&amp;gt; and $SirDate&amp;lt;i&amp;gt;xxx&amp;lt;/i&amp;gt; datetime formats. For example, there are four different tokens representing the day of the week, and time of day can be represented. Standard SOUL date formats do not have any day-of-week or time-of-day tokens, and other standard SOUL token variations, for example, &amp;lt;var&amp;gt;CYY&amp;lt;/var&amp;gt; versus &amp;lt;var&amp;gt;ZYY&amp;lt;/var&amp;gt;, are done by a complex argument setting.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;th&amp;gt;Pattern match tokens&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;The Sir2000 and $SirDate&amp;lt;i&amp;gt;xxx&amp;lt;/i&amp;gt; datetime formats can contain single-character (&amp;lt;code&amp;gt;I&amp;lt;/code&amp;gt;) or variable-length character (&amp;lt;code&amp;gt;*&amp;lt;/code&amp;gt;) match-any tokens in datetime formats. For example, you can specify that a string has an embedded year, and you can process that year as a date.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;th&amp;gt;Format-free representations&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;Non-string datetime values allow you to pass around dates simply as numbers, without the complexities of carrying the corresponding string format (you only need to establish the scale to operate on a value).&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;th nowrap&amp;gt;Operating on numeric representations&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;Numeric date values can be operated on directly with SOUL, especially allowing you to add datetime differences (for example, &amp;lt;code&amp;gt;+&amp;lt;/code&amp;gt;), rather than calling a &amp;lt;var&amp;gt;$DateChg&amp;lt;/var&amp;gt; $function and providing a format.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;th&amp;gt;Time&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;All Sir2000 and $SirDate&amp;lt;i&amp;gt;xxx&amp;lt;/i&amp;gt; datetime $functions allow any reference to a &amp;quot;date&amp;quot; to include time of day. The only standard SOUL datetime $function that provides a time of day is &amp;lt;var&amp;gt;[[$Time]]&amp;lt;/var&amp;gt;, the current time of day, in one fixed format.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;th&amp;gt;&amp;lt;var&amp;gt;$Sir_Date&amp;lt;/var&amp;gt; formats&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&amp;lt;var&amp;gt;$Sir_Date&amp;lt;/var&amp;gt; lets you specify any format to return the current date and time. &amp;lt;var&amp;gt;[[$Date]]&amp;lt;/var&amp;gt; has only a few numeric codes for a few formats.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;th&amp;gt;Error control arguments&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;Sir2000 User Language Tools&amp;lt;/var&amp;gt; provides error handling control that applies to all datetime $functions, including standard SOUL. Additionally, the Sir2000 and $SirDate&amp;lt;i&amp;gt;xxx&amp;lt;/i&amp;gt; datetime $functions (except &amp;lt;var&amp;gt;[[$Sir_DateFmt]]&amp;lt;/var&amp;gt;) let you specify error control for a single $function invocation. &amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;th nowrap&amp;gt;Error values of numeric date $functions&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;The $functions that use non-string datetime values provide very uniform error return values: &amp;lt;code&amp;gt;-9.E12&amp;lt;/code&amp;gt; or a null string, for numeric or string result $functions, respectively.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;/div&gt;</summary>
		<author><name>JAL</name></author>
	</entry>
</feed>