<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Help on date in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/help-on-date/m-p/4015826#M96470</link>
    <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I need a command or a script which calculates&lt;BR /&gt;current date -6.&lt;BR /&gt;&lt;BR /&gt;If today`s date is 01/12/2007,&lt;BR /&gt;i need the script to give me output of 25/11/2007.&lt;BR /&gt;&lt;BR /&gt;Please help.&lt;BR /&gt;Unix shell script is required..</description>
    <pubDate>Thu, 07 Jun 2007 22:54:43 GMT</pubDate>
    <dc:creator>Rinky</dc:creator>
    <dc:date>2007-06-07T22:54:43Z</dc:date>
    <item>
      <title>Help on date</title>
      <link>https://community.hpe.com/t5/operating-system-linux/help-on-date/m-p/4015826#M96470</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I need a command or a script which calculates&lt;BR /&gt;current date -6.&lt;BR /&gt;&lt;BR /&gt;If today`s date is 01/12/2007,&lt;BR /&gt;i need the script to give me output of 25/11/2007.&lt;BR /&gt;&lt;BR /&gt;Please help.&lt;BR /&gt;Unix shell script is required..</description>
      <pubDate>Thu, 07 Jun 2007 22:54:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/help-on-date/m-p/4015826#M96470</guid>
      <dc:creator>Rinky</dc:creator>
      <dc:date>2007-06-07T22:54:43Z</dc:date>
    </item>
    <item>
      <title>Re: Help on date</title>
      <link>https://community.hpe.com/t5/operating-system-linux/help-on-date/m-p/4015827#M96471</link>
      <description>Use the attached script, caljd.sh. Then it couldn't be simpler.&lt;BR /&gt;&lt;BR /&gt;DTMINUS6=$(caljd.sh -e -S "/" $(caljd.sh -p 6))&lt;BR /&gt;echo "Six days ago in DD/MM/YYYY format is ${DTMINUS6}"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Invoke as caljd.sh -u for many examples and full usage.</description>
      <pubDate>Thu, 07 Jun 2007 23:01:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/help-on-date/m-p/4015827#M96471</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-06-07T23:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: Help on date</title>
      <link>https://community.hpe.com/t5/operating-system-linux/help-on-date/m-p/4015828#M96472</link>
      <description>Clay keeps giving master classes on scriptwriting.  Now I've got about a week of study ahead.  At the end of which, luckily, I can pare out all that "stupid bash" stuff (I live happily in a Korn shell).&lt;BR /&gt;&lt;BR /&gt;"Then it couldn't be simpler."  Brain surgery is simple, too - once you know how to do it.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 10 Jun 2007 15:38:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/help-on-date/m-p/4015828#M96472</guid>
      <dc:creator>Michael D. Zorn</dc:creator>
      <dc:date>2007-06-10T15:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: Help on date</title>
      <link>https://community.hpe.com/t5/operating-system-linux/help-on-date/m-p/4015829#M96473</link>
      <description>I use "date" command from GNU&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.gnu.org/software/coreutils" target="_blank"&gt;http://www.gnu.org/software/coreutils&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It supports this:&lt;BR /&gt;&lt;BR /&gt;# date  --date="6 days ago"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pablo&lt;BR /&gt;</description>
      <pubDate>Mon, 11 Jun 2007 03:01:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/help-on-date/m-p/4015829#M96473</guid>
      <dc:creator>paolo barila</dc:creator>
      <dc:date>2007-06-11T03:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: Help on date</title>
      <link>https://community.hpe.com/t5/operating-system-linux/help-on-date/m-p/4015830#M96474</link>
      <description>perl -e'@d=localtime time-518400;printf"%02d/%02d/%4d\n",$d[3],++$d[4],1900+$d[5]'&lt;BR /&gt;&lt;BR /&gt;as 518400 is 6 days in seconds&lt;BR /&gt;&lt;BR /&gt;Please also read:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/helptips.do?#33" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/helptips.do?#33&lt;/A&gt;&lt;BR /&gt;on how to reward any useful answers given to your questions.&lt;BR /&gt;&lt;BR /&gt;So far you have only awared points to 13 of 29 answers !</description>
      <pubDate>Mon, 11 Jun 2007 04:15:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/help-on-date/m-p/4015830#M96474</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2007-06-11T04:15:32Z</dc:date>
    </item>
  </channel>
</rss>

