<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel>
	  <title>Ask MetaFilter questions tagged with dst</title>
      <link>http://ask.metafilter.com/tags/dst</link>
      <description>Questions tagged with 'dst' at Ask MetaFilter.</description>
	  <pubDate>Sun, 23 Nov 2008 20:21:48 -0800</pubDate> <lastBuildDate>Sun, 23 Nov 2008 20:21:48 -0800</lastBuildDate>

      <language>en-us</language>
	  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
	  <ttl>60</ttl>	  
	<item>
	<title>Magical DST Formula, or just funky math?</title>
	<link>http://ask.metafilter.com/107559/Magical%2DDST%2DFormula%2Dor%2Djust%2Dfunky%2Dmath</link>	
	<description>Please help explain why this formula works. So, I had a need to find a formula that would calculate whether or not a particular date was in DST or not.  I actually found one, and it works perfect for what I need.  But purely put of curiosity, I want to know &lt;em&gt;why&lt;/em&gt; it works.  Here is the basic formula:&lt;br&gt;
&lt;br&gt;
floor(1 + (year * 5 / 4)) % 7&lt;br&gt;
&lt;br&gt;
To find the day of March that DST begins, subtract the result from 14.  Similarly, to find the date in November when it ends, subtract the result from 7.  The formula only works for years 2007 and beyond, when the dates for DST were changed in the US.&lt;br&gt;
&lt;br&gt;
Some basic thoughts / assumptions:&lt;br&gt;
&lt;br&gt;
Guessing that the formulas are identical (save for the cardinal number to subtract from) because in any given year, March and November always start on the same day of the week.&lt;br&gt;
&lt;br&gt;
Prior to 2007, the formulas are different based on which date you are finding, and though both employ roughly similar concepts, the equation is relatively more complex for April; Oct is very similar to the above. &lt;br&gt;
&lt;br&gt;
The 14 probably comes from DST starting on the second Sunday of March, and the 7 probably comes from DST ending on the first Sunday in November.  The modulo probably comes from 7 days in the week.&lt;br&gt;
&lt;br&gt;
The formula works regardless of whether the year is a leap year, but only before the year 2100, which is one of the &apos;exception to the rule&apos; years which is not a leap year.  For years 2100-2199, you have to eliminate the &quot;1 +&quot; part of the equation.  Subsequent centuries require similar minor adjustment.&lt;br&gt;
&lt;br&gt;
Is the basic formula that simple because of some mathematical coincidence regarding those particular dates, or days of the year?  How does it not care about leap years?  I would love to have the logic and math explained; understanding this would make some of the other oddball calculations I have to do much easier, I think.&lt;br&gt;
&lt;br&gt;
For those wondering... the &apos;floor&apos; function is a simple function that essentially says &apos;round down&apos;.  So, floor(4.99) would result in 4.  And the &apos;%&apos; operator is modulo, which is more or less integer remainder.  So 7 % 3 = 1, 14 % 5 = 4, etc.&lt;br&gt;
&lt;br&gt;
Thanks in advance to anyone who can help figure this out.  Google was no help... heck, I had to weed through dozens of results just to find this formula, much less an explanation.&lt;/year&gt;</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.107559</guid>
	<pubDate>Sun, 23 Nov 2008 20:21:48 -0800</pubDate>
	<category>date</category>
	<category>daylightsavings</category>
	<category>DST</category>
	<category>formula</category>
	<dc:creator>SquidLips</dc:creator>
	</item>
	<item>
	<title>save me from daylight savings!</title>
	<link>http://ask.metafilter.com/105169/save%2Dme%2Dfrom%2Ddaylight%2Dsavings</link>	
	<description>HELP! When does Daylight Savings Time end in NYC this year?! ok, so all of my calendars say DST ends tomorrow (10/26/08).  However, everywhere I look online etc. says 11/02/08.  What is the deal?  Did it change?  I&apos;m confused, help.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.105169</guid>
	<pubDate>Sat, 25 Oct 2008 13:49:34 -0800</pubDate>
	<category>DST</category>
	<category>resolved</category>
	<category>Time</category>
	<dc:creator>slograffiti</dc:creator>
	</item>
	<item>
	<title>How Does the Military, Police, Etc. Notate the &quot;second&quot; 1:30 am when we &quot;fall back&quot;?</title>
	<link>http://ask.metafilter.com/75565/How%2DDoes%2Dthe%2DMilitary%2DPolice%2DEtc%2DNotate%2Dthe%2Dsecond%2D130%2Dam%2Dwhen%2Dwe%2Dfall%2Dback</link>	
	<description>How do places where precise timekeeping is essential handle the repeat of an hour when we go off Daylight Savings Time? There are certain professions in which I imagine very specific denotation of time is particularly important &#8212; hospital, military, first-responders (police, fire, ambulance), specialized equipment, etc.&lt;br&gt;
&lt;br&gt;
&quot;Spring forward&quot; is probably not a problem, because it &quot;removes&quot; an hour &#8212; 2:00 jumps to 3:00.  But in the fall, an hour is repeated &#8212; that&apos;s what I&apos;m curious about.  &lt;br&gt;
&lt;br&gt;
In these venues, how do they handle properly distinguishing the first 1:30 am from the second 1:30 am?  Is it done informally (i.e. Joe the ambulance driver writes down &quot;1:30 am (second time &apos;round)&quot; in his log while Frank the ambulance driver writes down &quot;1:30 am post-DST&quot; and George the ambulance driver forgets and just writes down &quot;1:30 am&quot;?  Or is there a generalized standard in the field.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2007:site.75565</guid>
	<pubDate>Tue, 06 Nov 2007 08:25:20 -0800</pubDate>
	<category>daylight</category>
	<category>daylightsavingstime</category>
	<category>daylightsavingtime</category>
	<category>dst</category>
	<category>resolved</category>
	<category>saving</category>
	<category>savings</category>
	<category>summertime</category>
	<category>time</category>
	<dc:creator>WCityMike</dc:creator>
	</item>
	<item>
	<title>How to Eliminate Daylight Savings Time?</title>
	<link>http://ask.metafilter.com/70544/How%2Dto%2DEliminate%2DDaylight%2DSavings%2DTime</link>	
	<description>I&apos;d like to build a clock that makes shifting to daylight savings time unnecessary by instead gaining or losing a bit of time each day as appropriate for the season so that when the second Sunday in March and first Sunday in November roll around it&apos;s already in sync. Setting aside the logistics of making this work from a societial point of view, how would you do it technically? Something like leap seconds or leap minutes? Or smaller changes on a more constant interval? Now, consider the societal impact. We like to think of time as this holy construct, despite the fact that global synchronized time is a modern invention and Daylight Savings Time is even newer. Since the US government recently changed the rules for when Daylight Savings Time is in force and several communities apparently survive without observing it, the time seems ripe for making the argument that it&apos;s possible to do without a semi-yearly shift. &lt;br&gt;
&lt;br&gt;
Many people get their time through their cellphone instead of wristwatches, and computer clocks are often synchronized to a remote source, so it seems like it would be possible to distribute post-industrial time to a wide population by getting a few carriers on board. Plus, there&apos;s historical precedent for clocks losing time. Many people grew up winding a clock each day, or adjusting the weights in their Grandfather clock. It seems like the shifts would be subtle enough that people could simply adjust any disconnected clocks as necessary every week or so.&lt;br&gt;
&lt;br&gt;
I&apos;d like you to help me come up with some mathematical strategies for how to build this clock, then explain to me why it&apos;ll never work.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2007:site.70544</guid>
	<pubDate>Fri, 31 Aug 2007 12:46:17 -0800</pubDate>
	<category>clocks</category>
	<category>dst</category>
	<category>society</category>
	<category>time</category>
	<dc:creator>Jeff Howard</dc:creator>
	</item>
	<item>
	<title>What time is it in Indiana?</title>
	<link>http://ask.metafilter.com/64071/What%2Dtime%2Dis%2Dit%2Din%2DIndiana</link>	
	<description>I would like to write a javascript function that takes the current time and adjusts it based on the timezone of any of our customers around the world.  &quot;Easy enough if I know the timezone&quot; I thought......until I started to think about daylight savings time and all of its variations around the world.  What is the best way to tackle this?  Is there a handy script out there to do this, or should I be looking to call a webservice?   I still don&apos;t know what time it is in &lt;a href=&apos;http://www.mccsc.edu/time.html&apos;&gt;Indiana&lt;/a&gt;.  </description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2007:site.64071</guid>
	<pubDate>Mon, 04 Jun 2007 12:31:26 -0800</pubDate>
	<category>dst</category>
	<category>javascript</category>
	<category>time</category>
	<category>timezone</category>
	<dc:creator>jasondigitized</dc:creator>
	</item>
	<item>
	<title>PC didn&apos;t change for Daylight Savings Time. Now what?</title>
	<link>http://ask.metafilter.com/58490/PC%2Ddidnt%2Dchange%2Dfor%2DDaylight%2DSavings%2DTime%2DNow%2Dwhat</link>	
	<description>Uh-oh. My computer (MS XP) didn&apos;t make the leap and change itself for daylight savings time. I thought I was ready - I installed all the recommended updates. (Someone left the computer on overnight - that couldn&apos;t have caused our trouble, could it?) Is there any I should do other than manually change the clock in the systems tray?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2007:site.58490</guid>
	<pubDate>Sun, 11 Mar 2007 04:20:36 -0800</pubDate>
	<category>daylightsavingstime</category>
	<category>dst</category>
	<category>time</category>
	<category>xp</category>
	<dc:creator>copystar</dc:creator>
	</item>
	<item>
	<title>How does my computer know about DST?</title>
	<link>http://ask.metafilter.com/55314/How%2Ddoes%2Dmy%2Dcomputer%2Dknow%2Dabout%2DDST</link>	
	<description>What (if anything) do I have to do to my computer to make sure it knows about the new U.S. Daylight Savings Time rules? Usually my computer adjusts itself for DST, but how will it know that the dates have changed? I&apos;m running Windows XP Media Center Edition, and I have automatic updates turned on. Will I need to do anything to make sure that the new Daylight Saving Time rules (2nd Sunday in March, 1st Sunday in November) are used? Also, how about my Dell Axim X50v Pocket PC, running Windows Mobile 2003? My husband&apos;s Mac (running OSX)?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2007:site.55314</guid>
	<pubDate>Thu, 18 Jan 2007 13:33:14 -0800</pubDate>
	<category>daylightsavingstime</category>
	<category>DST</category>
	<category>windowsxp</category>
	<dc:creator>Joleta</dc:creator>
	</item>
	<item>
	<title>How prepared is your organization for the Daylight Savings Time changes?</title>
	<link>http://ask.metafilter.com/55192/How%2Dprepared%2Dis%2Dyour%2Dorganization%2Dfor%2Dthe%2DDaylight%2DSavings%2DTime%2Dchanges</link>	
	<description>Mostly directed at IT types:

What have you/your department/your company done to prepare for the upcoming changes to the start/end dates for Daylight Savings Time in Canada and the US? I&apos;m really surprised at how little mainstream or IT press the change has been getting so I&apos;m wondering how ready other IT departments are for the change.&lt;br&gt;
&lt;br&gt;
(Background: The US Energy Policy Act of 2005 changes the start date of DST from the first Sunday in April to the second Sunday in March, and the end date from the last sunday in October to the first sunday in November, so any software that deals with timezones needs to be updated to account for the change. Most Canadian provinces are implementing the same change.)</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2007:site.55192</guid>
	<pubDate>Wed, 17 Jan 2007 08:24:33 -0800</pubDate>
	<category>daylightsavingstime</category>
	<category>dst</category>
	<category>it</category>
	<category>y2.007k</category>
	<dc:creator>mendel</dc:creator>
	</item>
	
	</channel>
</rss>

