<?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: adb datestamp conversion under 11.23 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/adb-datestamp-conversion-under-11-23/m-p/3698676#M248945</link>
    <description>Hi Scott:&lt;BR /&gt;&lt;BR /&gt;I don't have 11.23 to offer a reason, but you can easily use perl:&lt;BR /&gt;&lt;BR /&gt;# perl -le 'print scalar localtime(1130437460)'&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
    <pubDate>Tue, 27 Dec 2005 17:27:40 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2005-12-27T17:27:40Z</dc:date>
    <item>
      <title>adb datestamp conversion under 11.23</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adb-datestamp-conversion-under-11-23/m-p/3698675#M248944</link>
      <description>I have not been able to make heads or tails of the man page for adb, so I need to go ahead and ask here:&lt;BR /&gt;&lt;BR /&gt;I have found code here in the forums to determine the last (or next) password change date.  For example, under 11.11:&lt;BR /&gt;&lt;BR /&gt;echo 0d1130437460=Y | adb&lt;BR /&gt;&lt;BR /&gt;returns:&lt;BR /&gt;                2005 Oct 27 13:24:20&lt;BR /&gt;&lt;BR /&gt;Under 11.23 the code fails with the message:&lt;BR /&gt;&lt;BR /&gt;adb: warning: Unrecognized format character - 'Y'.&lt;BR /&gt;&lt;BR /&gt;Does anyone know the 'new' format to make this work under 11.23?  &lt;BR /&gt;&lt;BR /&gt;Scott</description>
      <pubDate>Tue, 27 Dec 2005 17:14:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adb-datestamp-conversion-under-11-23/m-p/3698675#M248944</guid>
      <dc:creator>Scott Lindstrom_2</dc:creator>
      <dc:date>2005-12-27T17:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: adb datestamp conversion under 11.23</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adb-datestamp-conversion-under-11-23/m-p/3698676#M248945</link>
      <description>Hi Scott:&lt;BR /&gt;&lt;BR /&gt;I don't have 11.23 to offer a reason, but you can easily use perl:&lt;BR /&gt;&lt;BR /&gt;# perl -le 'print scalar localtime(1130437460)'&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 27 Dec 2005 17:27:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adb-datestamp-conversion-under-11-23/m-p/3698676#M248945</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2005-12-27T17:27:40Z</dc:date>
    </item>
    <item>
      <title>Re: adb datestamp conversion under 11.23</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adb-datestamp-conversion-under-11-23/m-p/3698677#M248946</link>
      <description>James -&lt;BR /&gt;&lt;BR /&gt;It looks like that works great on both 11.11 and 11.23.  &lt;BR /&gt;&lt;BR /&gt;Out of curiosity I'd like to see if anyone has the 'adb' answer.&lt;BR /&gt;&lt;BR /&gt;BTW, this is the 3rd or 4th time I've needed to modify scripts using adb as we implement 11.23.  &lt;BR /&gt;&lt;BR /&gt;Scott</description>
      <pubDate>Tue, 27 Dec 2005 17:33:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adb-datestamp-conversion-under-11-23/m-p/3698677#M248946</guid>
      <dc:creator>Scott Lindstrom_2</dc:creator>
      <dc:date>2005-12-27T17:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: adb datestamp conversion under 11.23</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adb-datestamp-conversion-under-11-23/m-p/3698678#M248947</link>
      <description>Hi (again) Scott:&lt;BR /&gt;&lt;BR /&gt;It appears that with 11.23 'adb' has undergone some extensive work.  There is now a "normal" ('-n') mode for Itanium systems and an "old" ('-o') mode for backward compatability with PA-RISC.&lt;BR /&gt;&lt;BR /&gt;Apparently you can use the '-o' (old) mode on Itanium systems to obtain the "old" behavior.&lt;BR /&gt;&lt;BR /&gt;Too, if I read the manpages correctly, you should be able to use a lowercase "y" in lieu of an uppercase "Y" to obtain the date conversion.&lt;BR /&gt;&lt;BR /&gt;Have a look here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.docs.hp.com/en/B2355-60105/adb.1.html" target="_blank"&gt;http://www.docs.hp.com/en/B2355-60105/adb.1.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;BTW, I *still* prefer perl! :-))&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 27 Dec 2005 18:12:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adb-datestamp-conversion-under-11-23/m-p/3698678#M248947</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2005-12-27T18:12:33Z</dc:date>
    </item>
  </channel>
</rss>

