<?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 Re: Date calculation in shell in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/date-calculation-in-shell/m-p/3178605#M718170</link>
    <description>Diego,&lt;BR /&gt;&lt;BR /&gt;Here's another of Merijn's mirror sites, just in case cmve.net is unavailable:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.hpux.ws/merijn/" target="_blank"&gt;http://www.hpux.ws/merijn/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It's all the way at the bottom of the page, described as "*  A. Clay Stephenson's Date Hammer Shell version or Perl version"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete&lt;BR /&gt;</description>
    <pubDate>Fri, 30 Jan 2004 06:30:01 GMT</pubDate>
    <dc:creator>Pete Randall</dc:creator>
    <dc:date>2004-01-30T06:30:01Z</dc:date>
    <item>
      <title>Date calculation in shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/date-calculation-in-shell/m-p/3178602#M718167</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;could you please suggest a method in shell to add or subtract a certain number of days to a date, i.e. the date returned by the "date" command?&lt;BR /&gt;&lt;BR /&gt;My environment is Hp-ux 11.0.&lt;BR /&gt;&lt;BR /&gt;Thank you in advance!&lt;BR /&gt;Best regards.&lt;BR /&gt;Diego.&lt;BR /&gt;</description>
      <pubDate>Fri, 30 Jan 2004 06:03:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/date-calculation-in-shell/m-p/3178602#M718167</guid>
      <dc:creator>Diego Balgera</dc:creator>
      <dc:date>2004-01-30T06:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: Date calculation in shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/date-calculation-in-shell/m-p/3178603#M718168</link>
      <description>Diego,&lt;BR /&gt;&lt;BR /&gt;I would suggest you go to Merijn's site and download a version of A. Clay Stephenson's excellent clajd.sh script.  Merijn's site can be found here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.cmve.net/~merijn/#Statistics" target="_blank"&gt;http://www.cmve.net/~merijn/#Statistics&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Fri, 30 Jan 2004 06:14:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/date-calculation-in-shell/m-p/3178603#M718168</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2004-01-30T06:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: Date calculation in shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/date-calculation-in-shell/m-p/3178604#M718169</link>
      <description>There are two famous methods for extracting the date from date command.&lt;BR /&gt;&lt;BR /&gt;One method is using the following format:&lt;BR /&gt;# date +%Y&lt;BR /&gt;2004&lt;BR /&gt;&lt;BR /&gt;Second method is using set command:&lt;BR /&gt;$ date&lt;BR /&gt;Fri Jan 30 06:21:34 EST 2004&lt;BR /&gt;$ set `date`&lt;BR /&gt;$ echo $1&lt;BR /&gt;Fri&lt;BR /&gt;$ echo $2&lt;BR /&gt;Jan&lt;BR /&gt;$ echo $3&lt;BR /&gt;30&lt;BR /&gt;$ echo $4&lt;BR /&gt;06:21:39&lt;BR /&gt;$ echo $5&lt;BR /&gt;EST&lt;BR /&gt;$ echo $6&lt;BR /&gt;2004&lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;Vijay</description>
      <pubDate>Fri, 30 Jan 2004 06:22:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/date-calculation-in-shell/m-p/3178604#M718169</guid>
      <dc:creator>Vijaya Kumar_3</dc:creator>
      <dc:date>2004-01-30T06:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: Date calculation in shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/date-calculation-in-shell/m-p/3178605#M718170</link>
      <description>Diego,&lt;BR /&gt;&lt;BR /&gt;Here's another of Merijn's mirror sites, just in case cmve.net is unavailable:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.hpux.ws/merijn/" target="_blank"&gt;http://www.hpux.ws/merijn/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It's all the way at the bottom of the page, described as "*  A. Clay Stephenson's Date Hammer Shell version or Perl version"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete&lt;BR /&gt;</description>
      <pubDate>Fri, 30 Jan 2004 06:30:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/date-calculation-in-shell/m-p/3178605#M718170</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2004-01-30T06:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: Date calculation in shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/date-calculation-in-shell/m-p/3178606#M718171</link>
      <description>Diego,&lt;BR /&gt;&lt;BR /&gt;"calj.sh" could be found on the favourite script thread "favourite sysadmin scripts you always keep around...."&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/parseCurl.do?CURL=%2Fcm%2FQuestionAnswer%2F1%2C%2C0x026250011d20d6118ff40090279cd0f9%2C00.html&amp;amp;admit=716493758+1075462236234+28353475" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/parseCurl.do?CURL=%2Fcm%2FQuestionAnswer%2F1%2C%2C0x026250011d20d6118ff40090279cd0f9%2C00.html&amp;amp;admit=716493758+1075462236234+28353475&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jean-Luc</description>
      <pubDate>Fri, 30 Jan 2004 06:33:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/date-calculation-in-shell/m-p/3178606#M718171</guid>
      <dc:creator>Jean-Luc Oudart</dc:creator>
      <dc:date>2004-01-30T06:33:46Z</dc:date>
    </item>
    <item>
      <title>Re: Date calculation in shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/date-calculation-in-shell/m-p/3178607#M718172</link>
      <description>Hi,&lt;BR /&gt;thank you to everyone, your suggestions helped.&lt;BR /&gt;Bye!&lt;BR /&gt;Diego.&lt;BR /&gt;</description>
      <pubDate>Fri, 30 Jan 2004 08:16:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/date-calculation-in-shell/m-p/3178607#M718172</guid>
      <dc:creator>Diego Balgera</dc:creator>
      <dc:date>2004-01-30T08:16:45Z</dc:date>
    </item>
  </channel>
</rss>

