<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DZone Snippets: dst code</title>
    <link>http://snippets.dzone.com/posts</link>
    <pubDate>Sat, 26 Jul 2008 20:32:08 GMT</pubDate>
    <description>DZone Snippets: dst code</description>
    <item>
      <title>Detect Daylight Saving Time on a MySQL server in the America/New_York timezone.</title>
      <link>http://snippets.dzone.com/posts/show/4986</link>
      <description>&lt;code&gt;&lt;br /&gt;SELECT -5 - CAST(REPLACE(TIMEDIFF(NOW(), UTC_TIMESTAMP()), ':00:00', '') AS SIGNED) AS isDst&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;To test in other timezones, replace -5 with your local standard time GMT offset.</description>
      <pubDate>Tue, 15 Jan 2008 19:21:42 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/4986</guid>
      <author>mrclay (Steve Clay)</author>
    </item>
  </channel>
</rss>
