<?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: Easy date calculations in Unix scripts with GNU date</title>
	<atom:link href="http://www.unixtutorial.org/2008/09/easy-date-calculations-in-unix-scripts-with-gnu-date/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.unixtutorial.org/2008/09/easy-date-calculations-in-unix-scripts-with-gnu-date/</link>
	<description>Learn UNIX</description>
	<lastBuildDate>Thu, 26 Jan 2012 23:00:28 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: DonF</title>
		<link>http://www.unixtutorial.org/2008/09/easy-date-calculations-in-unix-scripts-with-gnu-date/comment-page-1/#comment-6970</link>
		<dc:creator>DonF</dc:creator>
		<pubDate>Wed, 16 Feb 2011 22:04:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.unixtutorial.org/?p=107#comment-6970</guid>
		<description>oops, make that:
date -d &#039;30 days ago 09/02/2008&#039;
Sun Aug  3 00:00:00 PDT 2008</description>
		<content:encoded><![CDATA[<p>oops, make that:<br />
date -d '30 days ago 09/02/2008'<br />
Sun Aug  3 00:00:00 PDT 2008</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DonF</title>
		<link>http://www.unixtutorial.org/2008/09/easy-date-calculations-in-unix-scripts-with-gnu-date/comment-page-1/#comment-6969</link>
		<dc:creator>DonF</dc:creator>
		<pubDate>Wed, 16 Feb 2011 22:01:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.unixtutorial.org/?p=107#comment-6969</guid>
		<description>Late reply for Robert but:

date -d &#039;30 days ago sep 02 2008&#039;
Wed Aug  3 20:08:00 PDT 2011</description>
		<content:encoded><![CDATA[<p>Late reply for Robert but:</p>
<p>date -d '30 days ago sep 02 2008'<br />
Wed Aug  3 20:08:00 PDT 2011</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert</title>
		<link>http://www.unixtutorial.org/2008/09/easy-date-calculations-in-unix-scripts-with-gnu-date/comment-page-1/#comment-6762</link>
		<dc:creator>Robert</dc:creator>
		<pubDate>Sat, 28 Nov 2009 03:24:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.unixtutorial.org/?p=107#comment-6762</guid>
		<description>how do I take a date like 2008/Sep/02 and subract 30 days from it without writing out some sort of awk function?  Or is it even possible?</description>
		<content:encoded><![CDATA[<p>how do I take a date like 2008/Sep/02 and subract 30 days from it without writing out some sort of awk function?  Or is it even possible?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: t.burninator</title>
		<link>http://www.unixtutorial.org/2008/09/easy-date-calculations-in-unix-scripts-with-gnu-date/comment-page-1/#comment-5795</link>
		<dc:creator>t.burninator</dc:creator>
		<pubDate>Sat, 15 Aug 2009 06:41:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.unixtutorial.org/?p=107#comment-5795</guid>
		<description>If your system isn&#039;t set up to display GMT by default (IE; your local time); I believe that you can use &quot;date -u&quot;.

date -u gives &quot;print or set Coordinated Universal Time&quot;.  Isn&#039;t that GMT? 

Regards</description>
		<content:encoded><![CDATA[<p>If your system isn't set up to display GMT by default (IE; your local time); I believe that you can use "date -u".</p>
<p>date -u gives "print or set Coordinated Universal Time".  Isn't that GMT? </p>
<p>Regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gleb Reys</title>
		<link>http://www.unixtutorial.org/2008/09/easy-date-calculations-in-unix-scripts-with-gnu-date/comment-page-1/#comment-4041</link>
		<dc:creator>Gleb Reys</dc:creator>
		<pubDate>Sat, 09 May 2009 00:38:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.unixtutorial.org/?p=107#comment-4041</guid>
		<description>Hi Danielle, 

I think it shows you the date according to your current timezone, so if you&#039;re in GMT, you&#039;ll get all the dates returned in GMT.</description>
		<content:encoded><![CDATA[<p>Hi Danielle, </p>
<p>I think it shows you the date according to your current timezone, so if you're in GMT, you'll get all the dates returned in GMT.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: danielleb3ar</title>
		<link>http://www.unixtutorial.org/2008/09/easy-date-calculations-in-unix-scripts-with-gnu-date/comment-page-1/#comment-4038</link>
		<dc:creator>danielleb3ar</dc:creator>
		<pubDate>Fri, 08 May 2009 23:27:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.unixtutorial.org/?p=107#comment-4038</guid>
		<description>how do i get the GMT?</description>
		<content:encoded><![CDATA[<p>how do i get the GMT?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Confirm the Day of the Week Based on a Timestamp &#124; UNIX Tutorial: Learn UNIX</title>
		<link>http://www.unixtutorial.org/2008/09/easy-date-calculations-in-unix-scripts-with-gnu-date/comment-page-1/#comment-1279</link>
		<dc:creator>Confirm the Day of the Week Based on a Timestamp &#124; UNIX Tutorial: Learn UNIX</dc:creator>
		<pubDate>Thu, 20 Nov 2008 15:51:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.unixtutorial.org/?p=107#comment-1279</guid>
		<description>[...] all you need is to have GNU date command at your disposal. I&#039;ve already shown you all the basic date/time calculations using this great tool, and that&#039;s just another way of using [...]</description>
		<content:encoded><![CDATA[<p>[...] all you need is to have GNU date command at your disposal. I've already shown you all the basic date/time calculations using this great tool, and that's just another way of using [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: eljunior</title>
		<link>http://www.unixtutorial.org/2008/09/easy-date-calculations-in-unix-scripts-with-gnu-date/comment-page-1/#comment-1041</link>
		<dc:creator>eljunior</dc:creator>
		<pubDate>Sat, 18 Oct 2008 00:52:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.unixtutorial.org/?p=107#comment-1041</guid>
		<description>yeah, GNU date is very powerful.
it&#039;s actually kind of fun writing loops like:

date=&#039;today&#039;
for((i=0;i&lt;7;i++))
do
    echo $date
    date=`date -d &quot;$date +1 day&quot; +%Y-%m-%d`
done

:)</description>
		<content:encoded><![CDATA[<p>yeah, GNU date is very powerful.<br />
it's actually kind of fun writing loops like:</p>
<p>date='today'<br />
for((i=0;i&lt;7;i++))<br />
do<br />
    echo $date<br />
    date=`date -d "$date +1 day" +%Y-%m-%d`<br />
done</p>
<p> <img src='http://unixtutorial.s3.amazonaws.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 3/13 queries in 0.005 seconds using disk: basic
Object Caching 385/386 objects using disk: basic
Content Delivery Network via Amazon Web Services: S3: unixtutorial.s3.amazonaws.com

Served from: www.unixtutorial.org @ 2012-02-08 01:28:26 -->
