<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://wiki.signature.net/skins/common/feed.css?270"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.signature.net/index.php?action=history&amp;feed=atom&amp;title=CometDates</id>
		<title>CometDates - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.signature.net/index.php?action=history&amp;feed=atom&amp;title=CometDates"/>
		<link rel="alternate" type="text/html" href="http://wiki.signature.net/index.php?title=CometDates&amp;action=history"/>
		<updated>2026-04-29T16:38:49Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.16.0</generator>

	<entry>
		<id>http://wiki.signature.net/index.php?title=CometDates&amp;diff=3235&amp;oldid=prev</id>
		<title>Jim: added datetime</title>
		<link rel="alternate" type="text/html" href="http://wiki.signature.net/index.php?title=CometDates&amp;diff=3235&amp;oldid=prev"/>
				<updated>2011-05-12T22:43:52Z</updated>
		
		<summary type="html">&lt;p&gt;added datetime&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 22:43, 12 May 2011&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 23:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 23:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**'''[[DayOfWorkWeek]]''' -- Returns the Day of the week as an integer from 1 to 7, where Monday = 1, Tuesday = 2 etc.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**'''[[DayOfWorkWeek]]''' -- Returns the Day of the week as an integer from 1 to 7, where Monday = 1, Tuesday = 2 etc.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**'''[[IsLeapYear]]''' -- Returns TRUE or FALSE depending on whether the CometDate falls within a Leap Year.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**'''[[IsLeapYear]]''' -- Returns TRUE or FALSE depending on whether the CometDate falls within a Leap Year.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;**'''[[DateTime]]''' -- Returns a formatted string containing date/time elements. -- Very powerful.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*'''Older Functions which also dealt with CometDates'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*'''Older Functions which also dealt with CometDates'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**'''[[Date2Num]]''' -- Converts a date string to a CometDate.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**'''[[Date2Num]]''' -- Converts a date string to a CometDate.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key wikidb:diff:version:1.11a:oldid:3183:newid:3235 --&gt;
&lt;/table&gt;</summary>
		<author><name>Jim</name></author>	</entry>

	<entry>
		<id>http://wiki.signature.net/index.php?title=CometDates&amp;diff=3183&amp;oldid=prev</id>
		<title>Jim: Added DayName and MonthName</title>
		<link rel="alternate" type="text/html" href="http://wiki.signature.net/index.php?title=CometDates&amp;diff=3183&amp;oldid=prev"/>
				<updated>2011-01-11T17:36:36Z</updated>
		
		<summary type="html">&lt;p&gt;Added DayName and MonthName&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 17:36, 11 January 2011&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 15:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 15:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**'''[[CometDate]]''' -- Converts month, day, year numbers into a CometDate.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**'''[[CometDate]]''' -- Converts month, day, year numbers into a CometDate.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**'''[[Year]]''' -- Returns the year from a CometDate.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**'''[[Year]]''' -- Returns the year from a CometDate.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**'''[[Month]]''' -- Returns the Month from a CometDate in the form &amp;quot;January&amp;quot;, &amp;quot;February&amp;quot;, etc.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**'''[[Month&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;]]''' -- Returns the Month from a CometDate as a number where January = 1 etc&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**'''[[&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Day&lt;/del&gt;]]''' -- Returns the Day of the week from a CometDate in the form &amp;quot;Monday&amp;quot;, &amp;quot;Tuesday&amp;quot;, etc.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;**'''[[Day]]''' -- Returns the Day of the Month from a CometDate &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;**'''[[MonthName&lt;/ins&gt;]]''' -- Returns the Month from a CometDate in the form &amp;quot;January&amp;quot;, &amp;quot;February&amp;quot;, etc.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**'''[[&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;DayName&lt;/ins&gt;]]''' -- Returns the Day of the week from a CometDate in the form &amp;quot;Monday&amp;quot;, &amp;quot;Tuesday&amp;quot;, etc.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**'''[[DayOfYear]]''' -- Returns the Day of the year as an integer.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**'''[[DayOfYear]]''' -- Returns the Day of the year as an integer.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**'''[[DayOfWeek]]''' -- Returns the Day of the week as an integer from 1 to 7, where Sunday = 1, Monday = 2 etc.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**'''[[DayOfWeek]]''' -- Returns the Day of the week as an integer from 1 to 7, where Sunday = 1, Monday = 2 etc.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key wikidb:diff:version:1.11a:oldid:3168:newid:3183 --&gt;
&lt;/table&gt;</summary>
		<author><name>Jim</name></author>	</entry>

	<entry>
		<id>http://wiki.signature.net/index.php?title=CometDates&amp;diff=3168&amp;oldid=prev</id>
		<title>Jim: minor</title>
		<link rel="alternate" type="text/html" href="http://wiki.signature.net/index.php?title=CometDates&amp;diff=3168&amp;oldid=prev"/>
				<updated>2010-12-08T22:17:36Z</updated>
		
		<summary type="html">&lt;p&gt;minor&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 22:17, 8 December 2010&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 12:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 12:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*'''Date Arithmetic''' -- Since CometDates are numbers, all arithmetic operators will work on them. Keep in mind that all of the conversion routines below will use just the integer portion of the CometDate presented. Make sure that any variable that can contain a CometDate has at least 7 digits as its integer part since CometDates can be that long.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*'''Date Arithmetic''' -- Since CometDates are numbers, all arithmetic operators will work on them. Keep in mind that all of the conversion routines below will use just the integer portion of the CometDate presented. Make sure that any variable that can contain a CometDate has at least 7 digits as its integer part since CometDates can be that long.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*'''&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Conversion &lt;/del&gt;Functions'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*'''&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;CometDate &lt;/ins&gt;Functions'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;**'''[[Date2Num]]''' -- Converts a date string to a CometDate.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;**'''[[DateToNum]]''' -- Converts a date string to a CometDate. &lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**'''[[CometDate]]''' -- Converts month, day, year numbers into a CometDate.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**'''[[CometDate]]''' -- Converts month, day, year numbers into a CometDate.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;**'''[[Num2Date]]''' -- Represents a CometDate in various ways.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;**'''[[NumToDate]]''' -- Represents a CometDate in various ways.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**'''[[Year]]''' -- Returns the year from a CometDate.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**'''[[Year]]''' -- Returns the year from a CometDate.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**'''[[Month]]''' -- Returns the Month from a CometDate in the form &amp;quot;January&amp;quot;, &amp;quot;February&amp;quot;, etc.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**'''[[Month]]''' -- Returns the Month from a CometDate in the form &amp;quot;January&amp;quot;, &amp;quot;February&amp;quot;, etc.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 25:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 21:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**'''[[DayOfWorkWeek]]''' -- Returns the Day of the week as an integer from 1 to 7, where Monday = 1, Tuesday = 2 etc.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**'''[[DayOfWorkWeek]]''' -- Returns the Day of the week as an integer from 1 to 7, where Monday = 1, Tuesday = 2 etc.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**'''[[IsLeapYear]]''' -- Returns TRUE or FALSE depending on whether the CometDate falls within a Leap Year.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**'''[[IsLeapYear]]''' -- Returns TRUE or FALSE depending on whether the CometDate falls within a Leap Year.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;*'''Older Functions which also dealt with CometDates'''&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;**'''[[Date2Num]]''' -- Converts a date string to a CometDate.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;**'''[[DateToNum]]''' -- Converts a date string to a CometDate. &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;**'''[[Num2Date]]''' -- Represents a CometDate in various ways.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;**'''[[NumToDate]]''' -- Represents a CometDate in various ways.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key wikidb:diff:version:1.11a:oldid:3157:newid:3168 --&gt;
&lt;/table&gt;</summary>
		<author><name>Jim</name></author>	</entry>

	<entry>
		<id>http://wiki.signature.net/index.php?title=CometDates&amp;diff=3157&amp;oldid=prev</id>
		<title>Jim: minor</title>
		<link rel="alternate" type="text/html" href="http://wiki.signature.net/index.php?title=CometDates&amp;diff=3157&amp;oldid=prev"/>
				<updated>2010-12-08T21:50:30Z</updated>
		
		<summary type="html">&lt;p&gt;minor&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 21:50, 8 December 2010&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&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='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;h2&amp;gt;Comet Dates&amp;lt;/h2&amp;gt; -- Note this applies to comet 32 only.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;h2&amp;gt;Comet Dates&amp;lt;/h2&amp;gt; -- Note this applies to comet 32 only.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;CometDates are integers specifying the number of days before or after January 1, 1800. Positive &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;dates &lt;/del&gt;are after that date and negative numbers are before that date. To illustrate, the CometDate &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;0f &lt;/del&gt;-1 represents the date December 31,1799, and the CometDate of 1 represents January 2,1800.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;CometDates are integers specifying the number of days before or after January 1, 1800. Positive &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;numbers &lt;/ins&gt;are after that date and negative numbers are before that date. To illustrate, the CometDate &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;of &lt;/ins&gt;-1 represents the date December 31,1799, and the CometDate of 1 represents January 2,1800. &amp;nbsp;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;The practical range of CometDates are -657071 (01/01/0001) to 2994987 (12/31/9999). CometDates outside of that range &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;will &lt;/del&gt;give strange results.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;The practical range of CometDates are -657071 (01/01/0001) to 2994987 (12/31/9999). CometDates outside of that range &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;may &lt;/ins&gt;give strange results.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;There are several ways to make a CometDate.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;There are several ways to make a CometDate.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 8:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 8:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*[[Date2Num|'''The Date2Num Function''']]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*[[Date2Num|'''The Date2Num Function''']]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*[[DateToNum|'''The DateToNum Function''']]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*[[DateToNum|'''The DateToNum Function''']]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*[[CometDate| Or preferably, the CometDate Function]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*[[CometDate|&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;Or preferably, the CometDate Function&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*'''Date Arithmetic''' -- Since CometDates are numbers, all arithmetic operators will work on them. Keep in mind that all conversion routines will use just the integer portion of the CometDate presented.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*'''Date Arithmetic''' -- Since CometDates are numbers, all arithmetic operators will work on them. Keep in mind that all &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;of the &lt;/ins&gt;conversion routines &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;below &lt;/ins&gt;will use just the integer portion of the CometDate presented&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;. Make sure that any variable that can contain a CometDate has at least 7 digits as its integer part since CometDates can be that long&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*'''Conversion Functions'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*'''Conversion Functions'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**[[Date2Num]] -- Converts a date string to a CometDate.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;[[Date2Num]]&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''' &lt;/ins&gt;-- Converts a date string to a CometDate.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**[[DateToNum]] -- Converts a date string to a CometDate. &amp;nbsp;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;[[DateToNum]]&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''' &lt;/ins&gt;-- Converts a date string to a CometDate. &amp;nbsp;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**[[CometDate]] -- Converts month, day, year numbers into a CometDate.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;[[CometDate]]&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''' &lt;/ins&gt;-- Converts month, day, year numbers into a CometDate.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**[[Num2Date]] -- Represents a CometDate in various ways.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;[[Num2Date]]&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''' &lt;/ins&gt;-- Represents a CometDate in various ways.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**[[NumToDate]] -- Represents a CometDate in various ways.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;[[NumToDate]]&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''' &lt;/ins&gt;-- Represents a CometDate in various ways.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**[[Year]] -- Returns the year from a CometDate.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;[[Year]]&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''' &lt;/ins&gt;-- Returns the year from a CometDate.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**[[Month]] -- Returns the Month from a CometDate in the form &amp;quot;January&amp;quot;, &amp;quot;February&amp;quot;, etc.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;[[Month]]&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''' &lt;/ins&gt;-- Returns the Month from a CometDate in the form &amp;quot;January&amp;quot;, &amp;quot;February&amp;quot;, etc.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**[[Day]] -- Returns the Day of the week from a CometDate in the form &amp;quot;Monday&amp;quot;, &amp;quot;Tuesday&amp;quot;, etc.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;[[Day]]&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''' &lt;/ins&gt;-- Returns the Day of the week from a CometDate in the form &amp;quot;Monday&amp;quot;, &amp;quot;Tuesday&amp;quot;, etc.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**[[DayOfYear]] -- Returns the Day of the year as an integer.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;[[DayOfYear]]&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''' &lt;/ins&gt;-- Returns the Day of the year as an integer.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**[[DayOfWeek]] -- Returns the Day of the week as an integer from 1 to 7, where Sunday = 1, Monday = 2 etc.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;[[DayOfWeek]]&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''' &lt;/ins&gt;-- Returns the Day of the week as an integer from 1 to 7, where Sunday = 1, Monday = 2 etc.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**[[DayOfWorkWeek]] -- Returns the Day of the week as an integer from 1 to 7, where Monday = 1, Tuesday = 2 etc.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;[[DayOfWorkWeek]]&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''' &lt;/ins&gt;-- Returns the Day of the week as an integer from 1 to 7, where Monday = 1, Tuesday = 2 etc.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**[[IsLeapYear]] -- Returns TRUE or FALSE depending on whether the CometDate falls within a Leap Year.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;[[IsLeapYear]]&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''' &lt;/ins&gt;-- Returns TRUE or FALSE depending on whether the CometDate falls within a Leap Year.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key wikidb:diff:version:1.11a:oldid:3155:newid:3157 --&gt;
&lt;/table&gt;</summary>
		<author><name>Jim</name></author>	</entry>

	<entry>
		<id>http://wiki.signature.net/index.php?title=CometDates&amp;diff=3155&amp;oldid=prev</id>
		<title>Jim: minor</title>
		<link rel="alternate" type="text/html" href="http://wiki.signature.net/index.php?title=CometDates&amp;diff=3155&amp;oldid=prev"/>
				<updated>2010-12-08T18:12:10Z</updated>
		
		<summary type="html">&lt;p&gt;minor&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 18:12, 8 December 2010&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 19:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 19:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**[[NumToDate]] -- Represents a CometDate in various ways.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**[[NumToDate]] -- Represents a CometDate in various ways.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**[[Year]] -- Returns the year from a CometDate.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**[[Year]] -- Returns the year from a CometDate.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**[[Month]] -- Returns the Month from a CometDate in the form January, February, etc.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**[[Month]] -- Returns the Month from a CometDate in the form &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;quot;&lt;/ins&gt;January&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;quot;&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;quot;&lt;/ins&gt;February&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;quot;&lt;/ins&gt;, etc.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**[[Day]] -- Returns the Day of the week from a CometDate in the form Monday, Tuesday, etc.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**[[Day]] -- Returns the Day of the week from a CometDate in the form &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;quot;&lt;/ins&gt;Monday&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;quot;&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;quot;&lt;/ins&gt;Tuesday&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;quot;&lt;/ins&gt;, etc.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**[[DayOfYear]] -- Returns the Day of the year as an integer.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**[[DayOfYear]] -- Returns the Day of the year as an integer.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**[[DayOfWeek]] -- Returns the Day of the week as an integer from 1 to 7, where Sunday = 1, Monday = 2 etc.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**[[DayOfWeek]] -- Returns the Day of the week as an integer from 1 to 7, where Sunday = 1, Monday = 2 etc.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**[[DayOfWorkWeek]] -- Returns the Day of the week as an integer from 1 to 7, where Monday = 1, Tuesday = 2 etc.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**[[DayOfWorkWeek]] -- Returns the Day of the week as an integer from 1 to 7, where Monday = 1, Tuesday = 2 etc.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**[[IsLeapYear]] -- Returns TRUE or FALSE depending on whether the CometDate falls within a Leap Year.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**[[IsLeapYear]] -- Returns TRUE or FALSE depending on whether the CometDate falls within a Leap Year.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key wikidb:diff:version:1.11a:oldid:3152:newid:3155 --&gt;
&lt;/table&gt;</summary>
		<author><name>Jim</name></author>	</entry>

	<entry>
		<id>http://wiki.signature.net/index.php?title=CometDates&amp;diff=3152&amp;oldid=prev</id>
		<title>Jim: minor</title>
		<link rel="alternate" type="text/html" href="http://wiki.signature.net/index.php?title=CometDates&amp;diff=3152&amp;oldid=prev"/>
				<updated>2010-12-08T16:39:22Z</updated>
		
		<summary type="html">&lt;p&gt;minor&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 16:39, 8 December 2010&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&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='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;CometDates are integers specifying the number of days before or after January 1, 1800. Positive dates are after that date and negative numbers are before that date. To illustrate, the CometDate 0f -1 represents the date December 31,1799, and the CometDate of 1 represents January 2,1800.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;CometDates are integers specifying the number of days before or after January 1, 1800. Positive dates are after that date and negative numbers are before that date. To illustrate, the CometDate 0f -1 represents the date December 31,1799, and the CometDate of 1 represents January 2,1800.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;The practical range of CometDates are -&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;657073 &lt;/del&gt;(01/01/0001) to 2994987 (12/31/9999). CometDates outside of that range will give strange results.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;The practical range of CometDates are -&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;657071 &lt;/ins&gt;(01/01/0001) to 2994987 (12/31/9999). CometDates outside of that range will give strange results.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;There are several ways to make a CometDate.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;There are several ways to make a CometDate.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 22:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 22:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**[[Day]] -- Returns the Day of the week from a CometDate in the form Monday, Tuesday, etc.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**[[Day]] -- Returns the Day of the week from a CometDate in the form Monday, Tuesday, etc.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**[[DayOfYear]] -- Returns the Day of the year as an integer.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**[[DayOfYear]] -- Returns the Day of the year as an integer.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**[[DayOfWeek]] -- Returns the Day of the week as an integer from &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;0 &lt;/del&gt;to &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;6&lt;/del&gt;, where Sunday = &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;0&lt;/del&gt;, Monday = &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;1 &lt;/del&gt;etc.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**[[DayOfWeek]] -- Returns the Day of the week as an integer from &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;1 &lt;/ins&gt;to &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;7&lt;/ins&gt;, where Sunday = &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;1&lt;/ins&gt;, Monday = &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;2 &lt;/ins&gt;etc.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**[[DayOfWorkWeek]] -- Returns the Day of the week as &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;a number&lt;/del&gt;, where Monday = &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;0&lt;/del&gt;, Tuesday = &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;1 &lt;/del&gt;etc.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**[[DayOfWorkWeek]] -- Returns the Day of the week as &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;an integer from 1 to 7&lt;/ins&gt;, where Monday = &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;1&lt;/ins&gt;, Tuesday = &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;2 &lt;/ins&gt;etc.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**[[IsLeapYear]] -- Returns TRUE or FALSE depending on whether the CometDate falls within a Leap Year.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**[[IsLeapYear]] -- Returns TRUE or FALSE depending on whether the CometDate falls within a Leap Year.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key wikidb:diff:version:1.11a:oldid:3150:newid:3152 --&gt;
&lt;/table&gt;</summary>
		<author><name>Jim</name></author>	</entry>

	<entry>
		<id>http://wiki.signature.net/index.php?title=CometDates&amp;diff=3150&amp;oldid=prev</id>
		<title>Jim: minor</title>
		<link rel="alternate" type="text/html" href="http://wiki.signature.net/index.php?title=CometDates&amp;diff=3150&amp;oldid=prev"/>
				<updated>2010-12-07T18:19:08Z</updated>
		
		<summary type="html">&lt;p&gt;minor&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 18:19, 7 December 2010&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 6:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 6:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;There are several ways to make a CometDate.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;There are several ways to make a CometDate.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*[[Date2Num |'''The Date2Num Function''']]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*[[Date2Num|'''The Date2Num Function''']]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*[[DateToNum |'''The DateToNum Function''']]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*[[DateToNum|'''The DateToNum Function''']]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*[[CometDate| Or preferably, the CometDate Function]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*[[CometDate| Or preferably, the CometDate Function]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 14:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 14:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*'''Conversion Functions'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*'''Conversion Functions'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**[[Date2Num]] -- Converts a date string to a CometDate.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**[[Date2Num]] -- Converts a date string to a CometDate.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**[[DateToNum&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;'&lt;/del&gt;]] -- Converts a date string to a CometDate. &amp;nbsp;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**[[DateToNum]] -- Converts a date string to a CometDate. &amp;nbsp;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**[[CometDate]] -- Converts month, day, year numbers into a CometDate.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**[[CometDate]] -- Converts month, day, year numbers into a CometDate.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**[[Num2Date]] -- Represents a CometDate in various ways.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**[[Num2Date]] -- Represents a CometDate in various ways.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key wikidb:diff:version:1.11a:oldid:3145:newid:3150 --&gt;
&lt;/table&gt;</summary>
		<author><name>Jim</name></author>	</entry>

	<entry>
		<id>http://wiki.signature.net/index.php?title=CometDates&amp;diff=3145&amp;oldid=prev</id>
		<title>Jim: Initial Construction of page</title>
		<link rel="alternate" type="text/html" href="http://wiki.signature.net/index.php?title=CometDates&amp;diff=3145&amp;oldid=prev"/>
				<updated>2010-12-07T18:14:34Z</updated>
		
		<summary type="html">&lt;p&gt;Initial Construction of page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;h2&amp;gt;Comet Dates&amp;lt;/h2&amp;gt; -- Note this applies to comet 32 only.&lt;br /&gt;
CometDates are integers specifying the number of days before or after January 1, 1800. Positive dates are after that date and negative numbers are before that date. To illustrate, the CometDate 0f -1 represents the date December 31,1799, and the CometDate of 1 represents January 2,1800.&lt;br /&gt;
&lt;br /&gt;
The practical range of CometDates are -657073 (01/01/0001) to 2994987 (12/31/9999). CometDates outside of that range will give strange results.&lt;br /&gt;
&lt;br /&gt;
There are several ways to make a CometDate.&lt;br /&gt;
 &lt;br /&gt;
*[[Date2Num |'''The Date2Num Function''']]&lt;br /&gt;
*[[DateToNum |'''The DateToNum Function''']]&lt;br /&gt;
*[[CometDate| Or preferably, the CometDate Function]]&lt;br /&gt;
&lt;br /&gt;
*'''Date Arithmetic''' -- Since CometDates are numbers, all arithmetic operators will work on them. Keep in mind that all conversion routines will use just the integer portion of the CometDate presented.&lt;br /&gt;
&lt;br /&gt;
*'''Conversion Functions'''&lt;br /&gt;
**[[Date2Num]] -- Converts a date string to a CometDate.&lt;br /&gt;
**[[DateToNum']] -- Converts a date string to a CometDate. &lt;br /&gt;
**[[CometDate]] -- Converts month, day, year numbers into a CometDate.&lt;br /&gt;
**[[Num2Date]] -- Represents a CometDate in various ways.&lt;br /&gt;
**[[NumToDate]] -- Represents a CometDate in various ways.&lt;br /&gt;
**[[Year]] -- Returns the year from a CometDate.&lt;br /&gt;
**[[Month]] -- Returns the Month from a CometDate in the form January, February, etc.&lt;br /&gt;
**[[Day]] -- Returns the Day of the week from a CometDate in the form Monday, Tuesday, etc.&lt;br /&gt;
**[[DayOfYear]] -- Returns the Day of the year as an integer.&lt;br /&gt;
**[[DayOfWeek]] -- Returns the Day of the week as an integer from 0 to 6, where Sunday = 0, Monday = 1 etc.&lt;br /&gt;
**[[DayOfWorkWeek]] -- Returns the Day of the week as a number, where Monday = 0, Tuesday = 1 etc.&lt;br /&gt;
**[[IsLeapYear]] -- Returns TRUE or FALSE depending on whether the CometDate falls within a Leap Year.&lt;/div&gt;</summary>
		<author><name>Jim</name></author>	</entry>

	</feed>