<?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: Daylight Saving Time (DST) Detect</title>
	<atom:link href="http://michaelapproved.com/articles/daylight-saving-time-dst-detect/feed" rel="self" type="application/rss+xml" />
	<link>http://michaelapproved.com/articles/daylight-saving-time-dst-detect</link>
	<description>Tap my brain, drink it up.</description>
	<lastBuildDate>Sat, 28 Jan 2012 14:16:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Mo Gryph</title>
		<link>http://michaelapproved.com/articles/daylight-saving-time-dst-detect#comment-148</link>
		<dc:creator>Mo Gryph</dc:creator>
		<pubDate>Mon, 15 Aug 2011 14:22:00 +0000</pubDate>
		<guid isPermaLink="false">http://michaelapproved.com/?p=7#comment-148</guid>
		<description>Hi Jon,
At first view, using the hard coded dates seems like a sound idea. However, the problem with the approach of testing against known dates, as we saw a few years ago- DST known dates change on occasion (albeit rare), and different regions use different countries have their own DST dates. Michael&#039;s idea appears to work without concern of this.</description>
		<content:encoded><![CDATA[<p>Hi Jon,<br />
At first view, using the hard coded dates seems like a sound idea. However, the problem with the approach of testing against known dates, as we saw a few years ago- DST known dates change on occasion (albeit rare), and different regions use different countries have their own DST dates. Michael&#8217;s idea appears to work without concern of this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MichaelApproved</title>
		<link>http://michaelapproved.com/articles/daylight-saving-time-dst-detect#comment-132</link>
		<dc:creator>MichaelApproved</dc:creator>
		<pubDate>Wed, 04 May 2011 07:19:00 +0000</pubDate>
		<guid isPermaLink="false">http://michaelapproved.com/?p=7#comment-132</guid>
		<description>How do you know if the user is currently observing Daylight Saving Time or not? getTimezoneOffset() doesn&#039;t tell you that and includes the change in time in the result. With your example Eastern Time can be -3 or -4 depending on the time of year.

My function is designed to ignore DST and return the correct offset regardless of DST. </description>
		<content:encoded><![CDATA[<p>How do you know if the user is currently observing Daylight Saving Time or not? getTimezoneOffset() doesn&#8217;t tell you that and includes the change in time in the result. With your example Eastern Time can be -3 or -4 depending on the time of year.</p>
<p>My function is designed to ignore DST and return the correct offset regardless of DST.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Isaac My Hero</title>
		<link>http://michaelapproved.com/articles/daylight-saving-time-dst-detect#comment-131</link>
		<dc:creator>Isaac My Hero</dc:creator>
		<pubDate>Wed, 04 May 2011 05:44:00 +0000</pubDate>
		<guid isPermaLink="false">http://michaelapproved.com/?p=7#comment-131</guid>
		<description>Hello... This is complicated. To get the correct time from your users, try these two lines of code, provided the user has the correct time zone set in his/her computer, it should be just fine.


  var userTime  = new Date();
  var time_zone = userTime.getTimezoneOffset()/-60;
</description>
		<content:encoded><![CDATA[<p>Hello&#8230; This is complicated. To get the correct time from your users, try these two lines of code, provided the user has the correct time zone set in his/her computer, it should be just fine.</p>
<p>  var userTime  = new Date();<br />
  var time_zone = userTime.getTimezoneOffset()/-60;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Isaac My Hero</title>
		<link>http://michaelapproved.com/articles/daylight-saving-time-dst-detect#comment-130</link>
		<dc:creator>Isaac My Hero</dc:creator>
		<pubDate>Wed, 04 May 2011 05:41:00 +0000</pubDate>
		<guid isPermaLink="false">http://michaelapproved.com/?p=7#comment-130</guid>
		<description>ds</description>
		<content:encoded><![CDATA[<p>ds</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon</title>
		<link>http://michaelapproved.com/articles/daylight-saving-time-dst-detect#comment-104</link>
		<dc:creator>Jon</dc:creator>
		<pubDate>Wed, 29 Dec 2010 11:57:00 +0000</pubDate>
		<guid isPermaLink="false">http://michaelapproved.com/?p=7#comment-104</guid>
		<description>Awesome work. We have similar ideas as you can see in my script jsTimezoneDetect. https://bitbucket.org/pellepim/jstimezonedetect. 

My script however checks known dates when DST has started. Have a look if you feel like it and tell me what you think.

</description>
		<content:encoded><![CDATA[<p>Awesome work. We have similar ideas as you can see in my script jsTimezoneDetect. <a href="https://bitbucket.org/pellepim/jstimezonedetect" rel="nofollow">https://bitbucket.org/pellepim/jstimezonedetect</a>. </p>
<p>My script however checks known dates when DST has started. Have a look if you feel like it and tell me what you think.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Perumal</title>
		<link>http://michaelapproved.com/articles/daylight-saving-time-dst-detect#comment-57</link>
		<dc:creator>Perumal</dc:creator>
		<pubDate>Wed, 07 Apr 2010 23:54:00 +0000</pubDate>
		<guid isPermaLink="false">http://michaelapproved.com/?p=7#comment-57</guid>
		<description>Thank you very much Micheal.

I was searching for this the whole day and found out your solution.

Very helpful!</description>
		<content:encoded><![CDATA[<p>Thank you very much Micheal.</p>
<p>I was searching for this the whole day and found out your solution.</p>
<p>Very helpful!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MichaelApproved</title>
		<link>http://michaelapproved.com/articles/daylight-saving-time-dst-detect#comment-56</link>
		<dc:creator>MichaelApproved</dc:creator>
		<pubDate>Mon, 05 Apr 2010 20:19:00 +0000</pubDate>
		<guid isPermaLink="false">http://michaelapproved.com/?p=7#comment-56</guid>
		<description>Good point. I selected the MIT License which should allow you to use the code in a very liberal manner.</description>
		<content:encoded><![CDATA[<p>Good point. I selected the MIT License which should allow you to use the code in a very liberal manner.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay Sullivan</title>
		<link>http://michaelapproved.com/articles/daylight-saving-time-dst-detect#comment-55</link>
		<dc:creator>Jay Sullivan</dc:creator>
		<pubDate>Mon, 05 Apr 2010 19:16:00 +0000</pubDate>
		<guid isPermaLink="false">http://michaelapproved.com/?p=7#comment-55</guid>
		<description>Thank you for making this; this is exactly what I&#039;m looking for.  I&#039;d like to make use of this, but I don&#039;t see a license.  Any chance you could place it into public domain?</description>
		<content:encoded><![CDATA[<p>Thank you for making this; this is exactly what I&#8217;m looking for.  I&#8217;d like to make use of this, but I don&#8217;t see a license.  Any chance you could place it into public domain?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

