<?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 format option in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/date-format-option/m-p/5251162#M611005</link>
    <description>Based on some average 11.00, 11.11, 11.23 and 11.31 systems, date %s works starting with 11.23 and fails in anything prior. Yet another item that fell through the documentation gap. It was probably added as a simple change to the date command along with other enhancements and the author forgot to write up the details.</description>
    <pubDate>Wed, 11 Aug 2010 21:15:35 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2010-08-11T21:15:35Z</dc:date>
    <item>
      <title>date format option</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/date-format-option/m-p/5251156#M610999</link>
      <description>&lt;!--!*#--&gt;I read online documentation for the date command &lt;A href="http://docs.hp.com/en/B2355-90689/date.1.html." target="_blank"&gt;http://docs.hp.com/en/B2355-90689/date.1.html.&lt;/A&gt;&lt;BR /&gt;According to it there is no format option +%s. However when I run this command: &lt;BR /&gt;/usr/bin/date +%s &lt;BR /&gt;I get a correct result:&lt;BR /&gt;1281507492&lt;BR /&gt;&lt;BR /&gt;Why do you not include this format option in your documentation?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 11 Aug 2010 05:19:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/date-format-option/m-p/5251156#M610999</guid>
      <dc:creator>blackwater</dc:creator>
      <dc:date>2010-08-11T05:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: date format option</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/date-format-option/m-p/5251157#M611000</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;yes you have right, there is no this entry in the manapage, but if you look into general man page ( Unix ) you will find this :&lt;BR /&gt;&lt;BR /&gt;%s     seconds since 1970-01-01 00:00:00 UTC&lt;BR /&gt;&lt;BR /&gt;mikap</description>
      <pubDate>Wed, 11 Aug 2010 05:53:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/date-format-option/m-p/5251157#M611000</guid>
      <dc:creator>Michal Kapalka (mikap)</dc:creator>
      <dc:date>2010-08-11T05:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: date format option</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/date-format-option/m-p/5251158#M611001</link>
      <description>By using the "Complete book in PDF" link and check the copyright and publication information in the first pages of the book/PDF.&lt;BR /&gt;&lt;BR /&gt;The document you were reading is the first edition of HP-UX 11.11 man pages, published in December 2000. It's almost 10 years old. &lt;BR /&gt;&lt;BR /&gt;I'm pretty sure this functionality didn't exist in 11.11 in about 2002/2003. I guess it may have been added by some patch after that. At that time, I wrote a tiny C program to overcome the problem.&lt;BR /&gt;&lt;BR /&gt;Which version of HP-UX you're using? ("uname -a" please)&lt;BR /&gt;&lt;BR /&gt;If the option exists but the installed manpage for date(1) on your system doesn't  know about it, then it can be said it's a documentation bug.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Wed, 11 Aug 2010 06:10:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/date-format-option/m-p/5251158#M611001</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2010-08-11T06:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: date format option</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/date-format-option/m-p/5251159#M611002</link>
      <description>&lt;!--!*#--&gt;I am using HP 11.31.&lt;BR /&gt;&lt;BR /&gt;I have taken a look at "HP-UX Reference" (2007) and the manpage on the server. Seems like +%s is not documented.</description>
      <pubDate>Wed, 11 Aug 2010 06:16:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/date-format-option/m-p/5251159#M611002</guid>
      <dc:creator>blackwater</dc:creator>
      <dc:date>2010-08-11T06:16:30Z</dc:date>
    </item>
    <item>
      <title>Re: date format option</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/date-format-option/m-p/5251160#M611003</link>
      <description>Correct,  the +%s  option is not there in the man page: I checked ( page 205 )of the blackwater, &lt;BR /&gt;command referene, it is good that you found it, HP may include it in the next KB Knowledge base document, &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B2355-91017/B2355-91017.pdf" target="_blank"&gt;http://docs.hp.com/en/B2355-91017/B2355-91017.pdf&lt;/A&gt;    ## Page 205   (11.31)&lt;BR /&gt;&lt;BR /&gt;---&lt;BR /&gt;date(1) date(1)&lt;BR /&gt;NAME&lt;BR /&gt;date - display or set the date and time&lt;BR /&gt;------&lt;BR /&gt;&lt;BR /&gt;Cheers ,&lt;BR /&gt;Raj.</description>
      <pubDate>Wed, 11 Aug 2010 06:31:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/date-format-option/m-p/5251160#M611003</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2010-08-11T06:31:41Z</dc:date>
    </item>
    <item>
      <title>Re: date format option</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/date-format-option/m-p/5251161#M611004</link>
      <description>It appears that %s also works on 11.23.</description>
      <pubDate>Wed, 11 Aug 2010 08:24:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/date-format-option/m-p/5251161#M611004</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-08-11T08:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: date format option</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/date-format-option/m-p/5251162#M611005</link>
      <description>Based on some average 11.00, 11.11, 11.23 and 11.31 systems, date %s works starting with 11.23 and fails in anything prior. Yet another item that fell through the documentation gap. It was probably added as a simple change to the date command along with other enhancements and the author forgot to write up the details.</description>
      <pubDate>Wed, 11 Aug 2010 21:15:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/date-format-option/m-p/5251162#M611005</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2010-08-11T21:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: date format option</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/date-format-option/m-p/5251163#M611006</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Bill: Based on some average 11.00, 11.11, 11.23 and 11.31 systems, date %s works starting with 11.23 and fails in anything prior.&lt;BR /&gt;&lt;BR /&gt;And in that case,  since all of the aforementioned releases had Perl, simply do:&lt;BR /&gt;&lt;BR /&gt;# perl -le 'print time()'&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 11 Aug 2010 21:25:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/date-format-option/m-p/5251163#M611006</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2010-08-11T21:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: date format option</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/date-format-option/m-p/5251164#M611007</link>
      <description>It is a insignificant bug in the technical documentation.</description>
      <pubDate>Thu, 12 Aug 2010 05:18:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/date-format-option/m-p/5251164#M611007</guid>
      <dc:creator>blackwater</dc:creator>
      <dc:date>2010-08-12T05:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: date format option</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/date-format-option/m-p/5251165#M611008</link>
      <description>This was implemented on 11.23 in strftime(3) with QXCR1000509179 for Linux compatibility.&lt;BR /&gt;&lt;BR /&gt;I filed an enhancement QXCR1001066009 to document this for strftime(3) and date(1).</description>
      <pubDate>Tue, 17 Aug 2010 03:52:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/date-format-option/m-p/5251165#M611008</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-08-17T03:52:35Z</dc:date>
    </item>
  </channel>
</rss>

