<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Javascript&#8217;s getYear() function, and other IE headaches	</title>
	<atom:link href="https://lobsterpot.com.au/blog/2006/10/26/javascripts-getyear-function-and-other-ie-headaches/feed/" rel="self" type="application/rss+xml" />
	<link>https://lobsterpot.com.au/blog/2006/10/26/javascripts-getyear-function-and-other-ie-headaches/</link>
	<description></description>
	<lastBuildDate>Thu, 26 Oct 2006 19:05:29 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.4</generator>
	<item>
		<title>
		By: robfarley		</title>
		<link>https://lobsterpot.com.au/blog/2006/10/26/javascripts-getyear-function-and-other-ie-headaches/#comment-73</link>

		<dc:creator><![CDATA[robfarley]]></dc:creator>
		<pubDate>Thu, 26 Oct 2006 19:05:29 +0000</pubDate>
		<guid isPermaLink="false">/blogs/robfarley/archive/2006/10/26/Javascript_2700_s-getYear_28002900_-function_2C00_-and-other-IE-headaches.aspx#comment-73</guid>

					<description><![CDATA[Woah! I had looked at that page in Firefox, where it gives an answer of 106. I guess the source of the code prints it.

Now that I look at that page in IE, it says 2006. I will correct my post. :&#124; 

Thanks Alun.]]></description>
			<content:encoded><![CDATA[<p>Woah! I had looked at that page in Firefox, where it gives an answer of 106. I guess the source of the code prints it.</p>
<p>Now that I look at that page in IE, it says 2006. I will correct my post. 😐 </p>
<p>Thanks Alun.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: alunj		</title>
		<link>https://lobsterpot.com.au/blog/2006/10/26/javascripts-getyear-function-and-other-ie-headaches/#comment-72</link>

		<dc:creator><![CDATA[alunj]]></dc:creator>
		<pubDate>Thu, 26 Oct 2006 12:32:35 +0000</pubDate>
		<guid isPermaLink="false">/blogs/robfarley/archive/2006/10/26/Javascript_2700_s-getYear_28002900_-function_2C00_-and-other-IE-headaches.aspx#comment-72</guid>

					<description><![CDATA[The link you quote demonstrates 2006 as being the correct response, and describes that dates before 1900 or after 1999 should produce a four-digit year.
As you say, though getFullYear is the correct function.
This arose because the designers of Javascript did not exactly specify the results that getYear should provide past 1999, leading to some browsers returning &quot;06&quot;, others returning &quot;2006&quot;, and some returning &quot;106&quot; - you can see occasional web sites even now telling you that the year is &quot;19106&quot; as a result.]]></description>
			<content:encoded><![CDATA[<p>The link you quote demonstrates 2006 as being the correct response, and describes that dates before 1900 or after 1999 should produce a four-digit year.<br />
As you say, though getFullYear is the correct function.<br />
This arose because the designers of Javascript did not exactly specify the results that getYear should provide past 1999, leading to some browsers returning &#8220;06&#8221;, others returning &#8220;2006&#8221;, and some returning &#8220;106&#8221; &#8211; you can see occasional web sites even now telling you that the year is &#8220;19106&#8221; as a result.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
