<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://brwiki2.brulescorp.com/brwiki2/index.php?action=history&amp;feed=atom&amp;title=BaseYear</id>
	<title>BaseYear - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://brwiki2.brulescorp.com/brwiki2/index.php?action=history&amp;feed=atom&amp;title=BaseYear"/>
	<link rel="alternate" type="text/html" href="https://brwiki2.brulescorp.com/brwiki2/index.php?title=BaseYear&amp;action=history"/>
	<updated>2026-04-16T21:36:04Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://brwiki2.brulescorp.com/brwiki2/index.php?title=BaseYear&amp;diff=10567&amp;oldid=prev</id>
		<title>Laura at 20:09, 27 July 2015</title>
		<link rel="alternate" type="text/html" href="https://brwiki2.brulescorp.com/brwiki2/index.php?title=BaseYear&amp;diff=10567&amp;oldid=prev"/>
		<updated>2015-07-27T20:09:56Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:09, 27 July 2015&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A &#039;&#039;&#039;BaseYear&#039;&#039;&#039; [[BRConfig.sys]] specification specifies the starting year of a 100-year window that Business Rules! will treat as the default century for the Days function when the century is not otherwise specified. BaseYear may also be executed from within a program with the [[Config]] BaseYear command. The format is as follows, where &quot;number&quot; must be a value from 1900 to 2399. The default is 1900.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A &#039;&#039;&#039;BaseYear&#039;&#039;&#039; [[BRConfig.sys]] specification specifies the starting year of a 100-year window that Business Rules! will treat as the default century for the Days function when the century is not otherwise specified. BaseYear may also be executed from within a program with the [[Config]] BaseYear command &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;or from within a program line with the [[Execute]] statement&lt;/ins&gt;. The format is as follows, where &quot;number&quot; must be a value from 1900 to 2399. The default is 1900.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;====Start-up Default====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;====Start-up Default====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Laura</name></author>
	</entry>
	<entry>
		<id>https://brwiki2.brulescorp.com/brwiki2/index.php?title=BaseYear&amp;diff=2538&amp;oldid=prev</id>
		<title>Laura: /* Start-up Default */</title>
		<link rel="alternate" type="text/html" href="https://brwiki2.brulescorp.com/brwiki2/index.php?title=BaseYear&amp;diff=2538&amp;oldid=prev"/>
		<updated>2013-04-08T15:08:10Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Start-up Default&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:08, 8 April 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l2&quot;&gt;Line 2:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;====Start-up Default====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;====Start-up Default====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;BaseYearnumber&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/ins&gt;BaseYearnumber&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If the century is not included in the Days value, Business Rules! assumes that all dates fall into the 100-year window specified by BaseYear. In cases where the 100 year window spans two different centuries, the year of the date passed by Days (00-99) is compared to the last 2 digits of BaseYear. If the year passed is equal to or greater than the last 2 digits in BaseYear, the century specified in BaseYear is assumed. If the year passed is less than the last two digits in BaseYear, the first century following the year specified in BaseYear is assumed.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If the century is not included in the Days value, Business Rules! assumes that all dates fall into the 100-year window specified by BaseYear. In cases where the 100 year window spans two different centuries, the year of the date passed by Days (00-99) is compared to the last 2 digits of BaseYear. If the year passed is equal to or greater than the last 2 digits in BaseYear, the century specified in BaseYear is assumed. If the year passed is less than the last two digits in BaseYear, the first century following the year specified in BaseYear is assumed.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Laura</name></author>
	</entry>
	<entry>
		<id>https://brwiki2.brulescorp.com/brwiki2/index.php?title=BaseYear&amp;diff=2283&amp;oldid=prev</id>
		<title>Laura: Created page with &quot;A &#039;&#039;&#039;BaseYear&#039;&#039;&#039; BRConfig.sys specification specifies the starting year of a 100-year window that Business Rules! will treat as the default century for the Days function w...&quot;</title>
		<link rel="alternate" type="text/html" href="https://brwiki2.brulescorp.com/brwiki2/index.php?title=BaseYear&amp;diff=2283&amp;oldid=prev"/>
		<updated>2013-03-26T21:48:41Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;A &amp;#039;&amp;#039;&amp;#039;BaseYear&amp;#039;&amp;#039;&amp;#039; &lt;a href=&quot;/brwiki2/index.php?title=BRConfig.sys&quot; class=&quot;mw-redirect&quot; title=&quot;BRConfig.sys&quot;&gt;BRConfig.sys&lt;/a&gt; specification specifies the starting year of a 100-year window that Business Rules! will treat as the default century for the Days function w...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;A &amp;#039;&amp;#039;&amp;#039;BaseYear&amp;#039;&amp;#039;&amp;#039; [[BRConfig.sys]] specification specifies the starting year of a 100-year window that Business Rules! will treat as the default century for the Days function when the century is not otherwise specified. BaseYear may also be executed from within a program with the [[Config]] BaseYear command. The format is as follows, where &amp;quot;number&amp;quot; must be a value from 1900 to 2399. The default is 1900.&lt;br /&gt;
&lt;br /&gt;
====Start-up Default====&lt;br /&gt;
BaseYearnumber&lt;br /&gt;
&lt;br /&gt;
If the century is not included in the Days value, Business Rules! assumes that all dates fall into the 100-year window specified by BaseYear. In cases where the 100 year window spans two different centuries, the year of the date passed by Days (00-99) is compared to the last 2 digits of BaseYear. If the year passed is equal to or greater than the last 2 digits in BaseYear, the century specified in BaseYear is assumed. If the year passed is less than the last two digits in BaseYear, the first century following the year specified in BaseYear is assumed.&lt;br /&gt;
&lt;br /&gt;
Changing the value of BaseYear does not affect the &amp;quot;logical&amp;quot; value returned by the Days function. The returned value is still the number of days since January 0, 1900.&lt;br /&gt;
&lt;br /&gt;
====Important note====&lt;br /&gt;
Dates prior to BaseYear can no longer be entered in M/D/Y format, as they will assume the next century. This does not affect dates already entered and converted to days. For example those stored in a history file would not be affected. If your application must work with dates wider than a 100-year range, the dates should be changed to show the century.&lt;br /&gt;
&lt;br /&gt;
====Examples====&lt;br /&gt;
 DATE(&amp;quot;*MDY&amp;quot;)     ! set default format&lt;br /&gt;
 CONFIG BaseYear 1950&lt;br /&gt;
 Print Days(010122)  ! assumes 01/01/2022&lt;br /&gt;
 Print Days(010193)  ! assumes 01/01/1993&lt;br /&gt;
&lt;br /&gt;
====How it affects current applications====&lt;br /&gt;
By simply placing BaseYear 1910 in your BRConfig.sys file, all dates entered and processed with the Days function will assume the 21st century for dates between 01/01/00 and 12/31/09. If you always use the results from the Days function when comparing dates, your programs should require no changes to continue working into the next century.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category:Config]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Laura</name></author>
	</entry>
</feed>