<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>james bruner</title>
	<atom:link href="http://www.jamesbruner.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jamesbruner.com</link>
	<description>life is automation.</description>
	<lastBuildDate>Thu, 08 Mar 2012 14:16:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Quick Script for Daylight Savings Time</title>
		<link>http://www.jamesbruner.com/2012/03/quick-script-for-daylight-savings-time/</link>
		<comments>http://www.jamesbruner.com/2012/03/quick-script-for-daylight-savings-time/#comments</comments>
		<pubDate>Thu, 08 Mar 2012 13:49:53 +0000</pubDate>
		<dc:creator>bruner</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[internets]]></category>

		<guid isPermaLink="false">http://www.jamesbruner.com/?p=184</guid>
		<description><![CDATA[Here&#8217;s a little something i whipped up for a client this morning. Those of you familiar with PHP already know this I&#8217;m sure, but for those of you that don&#8217;t, this might help you out. The script will check the current time and return a 0 or 1 depending on whether or not Daylight Savings Time is active. No more updating all those clients&#8217; store hours twice a year! This script will do it for you: &#60;?php $dst = date('I') if ($dst == 0) {//dst off, do something} elseif ($dst == 1) {//dst on, do something else} ?&#62;]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a little something i whipped up for a client this morning. Those of you familiar with PHP already know this I&#8217;m sure, but for those of you that don&#8217;t, this might help you out. The script will check the current time and return a 0 or 1 depending on whether or not Daylight Savings Time is active. No more updating all those clients&#8217; store hours twice a year! This script will do it for you:</p>
<p><code>&lt;?php<br />
$dst = date('I')<br />
if ($dst == 0) {//dst off, do something}<br />
elseif ($dst == 1) {//dst on, do something else}<br />
?&gt;</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jamesbruner.com/2012/03/quick-script-for-daylight-savings-time/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

