<?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: Converting date output in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/converting-date-output/m-p/3082450#M142964</link>
    <description>Would "date +'%d/%m/%y'" provide what you're looking for?&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;Pete&lt;BR /&gt; &lt;BR /&gt;</description>
    <pubDate>Wed, 01 Oct 2003 05:04:41 GMT</pubDate>
    <dc:creator>Pete Randall</dc:creator>
    <dc:date>2003-10-01T05:04:41Z</dc:date>
    <item>
      <title>Converting date output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/converting-date-output/m-p/3082449#M142963</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;I have a part of a script which outputs the date as 03/08/11 to represent 11th August 2003. &lt;BR /&gt;&lt;BR /&gt;How can I set the date variable so that this is output as 11 Aug 2003</description>
      <pubDate>Wed, 01 Oct 2003 04:59:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/converting-date-output/m-p/3082449#M142963</guid>
      <dc:creator>Jeff Picton</dc:creator>
      <dc:date>2003-10-01T04:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: Converting date output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/converting-date-output/m-p/3082450#M142964</link>
      <description>Would "date +'%d/%m/%y'" provide what you're looking for?&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;Pete&lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Wed, 01 Oct 2003 05:04:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/converting-date-output/m-p/3082450#M142964</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-10-01T05:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: Converting date output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/converting-date-output/m-p/3082451#M142965</link>
      <description>FORMAT controls the output.&lt;BR /&gt;&lt;BR /&gt;# date "+%d %b %Y"&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Sergejs</description>
      <pubDate>Wed, 01 Oct 2003 05:09:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/converting-date-output/m-p/3082451#M142965</guid>
      <dc:creator>Sergejs Svitnevs</dc:creator>
      <dc:date>2003-10-01T05:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: Converting date output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/converting-date-output/m-p/3082452#M142966</link>
      <description>date -u +"%d %B %Y"</description>
      <pubDate>Wed, 01 Oct 2003 05:10:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/converting-date-output/m-p/3082452#M142966</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2003-10-01T05:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: Converting date output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/converting-date-output/m-p/3082453#M142967</link>
      <description>it should be small case 'b' for your request&lt;BR /&gt;&lt;BR /&gt;$date -u +"%d %b %Y"</description>
      <pubDate>Wed, 01 Oct 2003 05:18:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/converting-date-output/m-p/3082453#M142967</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2003-10-01T05:18:35Z</dc:date>
    </item>
    <item>
      <title>Re: Converting date output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/converting-date-output/m-p/3082454#M142968</link>
      <description>Sorry, Jeff, I missed the "non-decimal month part.  Obviously, the other solutions are more what you're after!&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;Pete&lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Wed, 01 Oct 2003 05:23:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/converting-date-output/m-p/3082454#M142968</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-10-01T05:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: Converting date output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/converting-date-output/m-p/3082455#M142969</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Thanks for all the answers. Let me clarify this one a little.&lt;BR /&gt;&lt;BR /&gt;I do&lt;BR /&gt;&lt;BR /&gt;date1=`lifls -l /tmp/LIF | grep HPUX | awk '{print$6}'`&lt;BR /&gt;&lt;BR /&gt;echo $date1 gives 03/08/11. Does these answers convert this date ?</description>
      <pubDate>Wed, 01 Oct 2003 05:23:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/converting-date-output/m-p/3082455#M142969</guid>
      <dc:creator>Jeff Picton</dc:creator>
      <dc:date>2003-10-01T05:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: Converting date output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/converting-date-output/m-p/3082456#M142970</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;try something like:&lt;BR /&gt;&lt;BR /&gt;echo 10/01/03 | awk -F'/' '{print $2 substr ("JanFebMarAprMayJunJulAugSepOctNovDec", ($1 -1 ) * 3 + 1,3) $3}'&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;good luck,&lt;BR /&gt;Thierry.</description>
      <pubDate>Wed, 01 Oct 2003 05:42:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/converting-date-output/m-p/3082456#M142970</guid>
      <dc:creator>Thierry Poels_1</dc:creator>
      <dc:date>2003-10-01T05:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: Converting date output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/converting-date-output/m-p/3082457#M142971</link>
      <description>oooops, forgot the spacing and 2003 instead of 03:&lt;BR /&gt;&lt;BR /&gt;echo 10/01/03 | awk -F'/' '{print $2 " " substr  ("JanFebMarAprMayJunJulAugSepOctNovDec", ($1 -1 ) * 3 + 1,3) " 20" $3}'&lt;BR /&gt; &lt;BR /&gt;good luck,&lt;BR /&gt;Thierry.</description>
      <pubDate>Wed, 01 Oct 2003 05:45:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/converting-date-output/m-p/3082457#M142971</guid>
      <dc:creator>Thierry Poels_1</dc:creator>
      <dc:date>2003-10-01T05:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: Converting date output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/converting-date-output/m-p/3082458#M142972</link>
      <description>aaaarrrgh, not easy if you can't see all replies when replying -- fields in wrong order :&lt;BR /&gt; &lt;BR /&gt;echo 03/08/11 | awk -F'/' '{print $3 " " substr ("JanFebMarAprMayJunJulAugSepOctNovDec", ($2 -1 ) * 3 + 1,3) " 20" $1}'&lt;BR /&gt; &lt;BR /&gt;good luck,&lt;BR /&gt;Thierry.</description>
      <pubDate>Wed, 01 Oct 2003 05:49:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/converting-date-output/m-p/3082458#M142972</guid>
      <dc:creator>Thierry Poels_1</dc:creator>
      <dc:date>2003-10-01T05:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: Converting date output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/converting-date-output/m-p/3082459#M142973</link>
      <description>Hi everyone&lt;BR /&gt;&lt;BR /&gt;Many thanks for the replies. After I clarified my problem, It was Thierry who gave me a workable solution.&lt;BR /&gt;&lt;BR /&gt;Jeff</description>
      <pubDate>Wed, 01 Oct 2003 06:10:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/converting-date-output/m-p/3082459#M142973</guid>
      <dc:creator>Jeff Picton</dc:creator>
      <dc:date>2003-10-01T06:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: Converting date output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/converting-date-output/m-p/3082460#M142974</link>
      <description>Hi Thierry,&lt;BR /&gt; &lt;BR /&gt;I like your solution. Very tricky and very small instead to compare and replace.&lt;BR /&gt; &lt;BR /&gt;I would give you 10 Points.&lt;BR /&gt; &lt;BR /&gt;Roland</description>
      <pubDate>Wed, 01 Oct 2003 06:31:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/converting-date-output/m-p/3082460#M142974</guid>
      <dc:creator>RolandH</dc:creator>
      <dc:date>2003-10-01T06:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: Converting date output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/converting-date-output/m-p/3082461#M142975</link>
      <description>Thiery,&lt;BR /&gt;&lt;BR /&gt;Very smooth. I have filed off the serial number and called it my own...&lt;BR /&gt;&lt;BR /&gt;Tim</description>
      <pubDate>Wed, 01 Oct 2003 10:06:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/converting-date-output/m-p/3082461#M142975</guid>
      <dc:creator>Tim Sanko</dc:creator>
      <dc:date>2003-10-01T10:06:26Z</dc:date>
    </item>
  </channel>
</rss>

