<?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: Date.AddMinutes()</title>
	<atom:link href="http://benreichelt.net/blog/2005/01/07/dateaddminutes/feed/" rel="self" type="application/rss+xml" />
	<link>http://benreichelt.net/blog/2005/01/07/dateaddminutes/</link>
	<description></description>
	<lastBuildDate>Tue, 18 Aug 2009 22:20:45 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Anonymous</title>
		<link>http://benreichelt.net/blog/2005/01/07/dateaddminutes/comment-page-1/#comment-161</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Sat, 08 Jan 2005 02:46:00 +0000</pubDate>
		<guid isPermaLink="false">http://s194721765.onlinehome.us/blog/2005/01/07/dateaddminutes/#comment-161</guid>
		<description>ahh, very nice, that&#039;s even easier still</description>
		<content:encoded><![CDATA[<p>ahh, very nice, that&#8217;s even easier still</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://benreichelt.net/blog/2005/01/07/dateaddminutes/comment-page-1/#comment-160</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Sat, 08 Jan 2005 02:21:00 +0000</pubDate>
		<guid isPermaLink="false">http://s194721765.onlinehome.us/blog/2005/01/07/dateaddminutes/#comment-160</guid>
		<description>Too much trouble. The next script snippet will show 18:06 as time.&lt;br&gt;&lt;br&gt;alert(new Date(2005,1,8,17,66,00));&lt;br&gt;&lt;br&gt;Note that I specified 66 as the minute parameter. The Date() function is able to handle overflows perfectly.&lt;br&gt;&lt;br&gt;Adding 5 minutes: &lt;br&gt;&lt;script&gt;&lt;br&gt;var now = new Date();&lt;br&gt;alert(new Date(now.getYear(),now.getMonth(),now.getDate(),now.getHours(),now.getMinutes()+5,now.getSeconds()));&lt;br&gt;&lt;/script&gt;</description>
		<content:encoded><![CDATA[<p>Too much trouble. The next script snippet will show 18:06 as time.</p>
<p>alert(new Date(2005,1,8,17,66,00));</p>
<p>Note that I specified 66 as the minute parameter. The Date() function is able to handle overflows perfectly.</p>
<p>Adding 5 minutes:<br />
<br />&#38;lt;script&#38;gt;<br />
<br />var now = new Date();<br />
<br />alert(new Date(now.getYear(),now.getMonth(),now.getDate(),now.getHours(),now.getMinutes()+5,now.getSeconds()));<br />
<br />&#38;lt;/script&#38;gt;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
