<?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: Please Help!!! in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/please-help/m-p/2836298#M938869</link>
    <description>If you have perl and the Date::Manip module:&lt;BR /&gt;&lt;BR /&gt;perl -MDate::Manip -le 'print Delta_Format(DateCalc("01/15/2001", "12/15/2002", \$err, 3), 0, "%dv")'</description>
    <pubDate>Wed, 30 Oct 2002 22:16:00 GMT</pubDate>
    <dc:creator>Leslie Chaim</dc:creator>
    <dc:date>2002-10-30T22:16:00Z</dc:date>
    <item>
      <title>Please Help!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/please-help/m-p/2836291#M938862</link>
      <description>Help!!&lt;BR /&gt;&lt;BR /&gt;I 've been beating my head against a wall for days trying to find a neat way to count the number of days between dates like&lt;BR /&gt;01/15/2001 and 12/15/2002. Does anybody have a program or a script that will do this?&lt;BR /&gt;&lt;BR /&gt;Thanks, Bob</description>
      <pubDate>Wed, 30 Oct 2002 19:34:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/please-help/m-p/2836291#M938862</guid>
      <dc:creator>Robert Comber</dc:creator>
      <dc:date>2002-10-30T19:34:36Z</dc:date>
    </item>
    <item>
      <title>Re: Please Help!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/please-help/m-p/2836292#M938863</link>
      <description>Bob,&lt;BR /&gt;&lt;BR /&gt;You have two choices - you can search for "date hammer", or you can wait for Clay to notice this post and respond.&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 30 Oct 2002 19:30:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/please-help/m-p/2836292#M938863</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-10-30T19:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: Please Help!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/please-help/m-p/2836293#M938864</link>
      <description>Okay Bob, this is easy.&lt;BR /&gt;&lt;BR /&gt;I. Take two Advil.&lt;BR /&gt;&lt;BR /&gt;2. Download the attached script, caljd.sh, and put in in your PATH.&lt;BR /&gt;&lt;BR /&gt;C. DT1=01/15/2001&lt;BR /&gt;   DT2=12/15/2002&lt;BR /&gt;&lt;BR /&gt;   DAYS=$(($(caljd.sh -S "/" -c ${DT2}) - $(caljd.sh -S "/" -c ${DT1})))&lt;BR /&gt;   echo "Days difference = ${DAYS".&lt;BR /&gt;&lt;BR /&gt;Now wasn't that easy? Invoke as caljd.sh -u for full usage.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards, Clay&lt;BR /&gt;</description>
      <pubDate>Wed, 30 Oct 2002 19:33:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/please-help/m-p/2836293#M938864</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-10-30T19:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: Please Help!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/please-help/m-p/2836294#M938865</link>
      <description>Do a man on difftime and see if you can use it.</description>
      <pubDate>Wed, 30 Oct 2002 19:34:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/please-help/m-p/2836294#M938865</guid>
      <dc:creator>Ken Hubnik_2</dc:creator>
      <dc:date>2002-10-30T19:34:36Z</dc:date>
    </item>
    <item>
      <title>Re: Please Help!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/please-help/m-p/2836295#M938866</link>
      <description>Ooops, that should have been:&lt;BR /&gt;&lt;BR /&gt;echo "Days difference = ${DAYS}". &lt;BR /&gt;&lt;BR /&gt;You can also search for 'caljd.pl' if you want a Perl version of the script. The arguments are exactly the same. By the way, make sure that you use 4-digit years because caljd.sh (or .pl) will take you at your word and compute for 1st century AD dates.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 30 Oct 2002 19:49:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/please-help/m-p/2836295#M938866</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-10-30T19:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: Please Help!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/please-help/m-p/2836296#M938867</link>
      <description>And, Bob - don't give me any points for that answer.  Give them to Clay, instead.  He needs them - but more importantly, he deserves them.&lt;BR /&gt;&lt;BR /&gt;;^)&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 30 Oct 2002 19:53:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/please-help/m-p/2836296#M938867</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-10-30T19:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: Please Help!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/please-help/m-p/2836297#M938868</link>
      <description>Wow Guys!! This is great and my headache is gone!&lt;BR /&gt;&lt;BR /&gt;I just did a search on "caljd" and found tons of cool ideas. It took me a little while to understand that $(cajld.sh) was the same as `calsh.sh` and I had no idea what $((   )) did but it worked perfectly the very first time.&lt;BR /&gt;&lt;BR /&gt;I can't thank you guys enough.&lt;BR /&gt;&lt;BR /&gt;Bob</description>
      <pubDate>Wed, 30 Oct 2002 20:48:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/please-help/m-p/2836297#M938868</guid>
      <dc:creator>Robert Comber</dc:creator>
      <dc:date>2002-10-30T20:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: Please Help!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/please-help/m-p/2836298#M938869</link>
      <description>If you have perl and the Date::Manip module:&lt;BR /&gt;&lt;BR /&gt;perl -MDate::Manip -le 'print Delta_Format(DateCalc("01/15/2001", "12/15/2002", \$err, 3), 0, "%dv")'</description>
      <pubDate>Wed, 30 Oct 2002 22:16:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/please-help/m-p/2836298#M938869</guid>
      <dc:creator>Leslie Chaim</dc:creator>
      <dc:date>2002-10-30T22:16:00Z</dc:date>
    </item>
  </channel>
</rss>

