<?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: Subtract X Days from a DateTime Object using PowerShell</title>
	<atom:link href="http://www.powershell.nu/2009/03/05/subtract-x-days-from-a-datetime-object-using-powershell/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.powershell.nu/2009/03/05/subtract-x-days-from-a-datetime-object-using-powershell/</link>
	<description></description>
	<lastBuildDate>Sat, 04 Sep 2010 15:41:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Boar Hunting</title>
		<link>http://www.powershell.nu/2009/03/05/subtract-x-days-from-a-datetime-object-using-powershell/comment-page-1/#comment-3985</link>
		<dc:creator>Boar Hunting</dc:creator>
		<pubDate>Fri, 19 Mar 2010 15:38:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershell.nu/?p=504#comment-3985</guid>
		<description>I recently came across your blog. I must say I have enjoyed reading and I will continue to come back often. Thanks</description>
		<content:encoded><![CDATA[<p>I recently came across your blog. I must say I have enjoyed reading and I will continue to come back often. Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DaveMorse</title>
		<link>http://www.powershell.nu/2009/03/05/subtract-x-days-from-a-datetime-object-using-powershell/comment-page-1/#comment-3956</link>
		<dc:creator>DaveMorse</dc:creator>
		<pubDate>Wed, 14 Oct 2009 19:52:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershell.nu/?p=504#comment-3956</guid>
		<description>Just wanted to say thanks.  I used Jason&#039;s method since I only needed to subtract days.  Worked like a champ and is extremely simple.  Nikolas&#039; solution is very flexible, buta solution I will use it if presented with a more complex requirement.

Thanks,
Dave</description>
		<content:encoded><![CDATA[<p>Just wanted to say thanks.  I used Jason&#8217;s method since I only needed to subtract days.  Worked like a champ and is extremely simple.  Nikolas&#8217; solution is very flexible, buta solution I will use it if presented with a more complex requirement.</p>
<p>Thanks,<br />
Dave</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James</title>
		<link>http://www.powershell.nu/2009/03/05/subtract-x-days-from-a-datetime-object-using-powershell/comment-page-1/#comment-1474</link>
		<dc:creator>James</dc:creator>
		<pubDate>Thu, 09 Apr 2009 14:01:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershell.nu/?p=504#comment-1474</guid>
		<description>Cheers for this, I used a bit of of your code to convert how many Hours, Minutes and seconds there are for so many milliseconds.

$iDuration = new-object system.timespan 0,0,0,0,87633221

[string]$iDuration.Hours+&quot;:&quot;+[string]$iDuration.Minutes+&quot;:&quot;+[string]$iDuration.Seconds

Thanks
James</description>
		<content:encoded><![CDATA[<p>Cheers for this, I used a bit of of your code to convert how many Hours, Minutes and seconds there are for so many milliseconds.</p>
<p>$iDuration = new-object system.timespan 0,0,0,0,87633221</p>
<p>[string]$iDuration.Hours+&#8221;:&#8221;+[string]$iDuration.Minutes+&#8221;:&#8221;+[string]$iDuration.Seconds</p>
<p>Thanks<br />
James</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JasonMArcher</title>
		<link>http://www.powershell.nu/2009/03/05/subtract-x-days-from-a-datetime-object-using-powershell/comment-page-1/#comment-1215</link>
		<dc:creator>JasonMArcher</dc:creator>
		<pubDate>Wed, 25 Mar 2009 23:36:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershell.nu/?p=504#comment-1215</guid>
		<description>You can add negative numbers to do subtraction.

PS &gt; $Today = Get-Date
PS &gt; $Today.AddDays(-10)

PS &gt; $Days = 10
PS &gt; $Today.AddDays(-1 * $Days)</description>
		<content:encoded><![CDATA[<p>You can add negative numbers to do subtraction.</p>
<p>PS &gt; $Today = Get-Date<br />
PS &gt; $Today.AddDays(-10)</p>
<p>PS &gt; $Days = 10<br />
PS &gt; $Today.AddDays(-1 * $Days)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
