<?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: Timestamp problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/timestamp-problem/m-p/2630045#M920786</link>
    <description>Hi Ryan:&lt;BR /&gt;&lt;BR /&gt;You can also do this:&lt;BR /&gt;&lt;BR /&gt;# TS=1000000000       &lt;BR /&gt;echo "0d${TS}=Y"|adb&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
    <pubDate>Wed, 12 Dec 2001 08:19:51 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2001-12-12T08:19:51Z</dc:date>
    <item>
      <title>Timestamp problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/timestamp-problem/m-p/2630042#M920783</link>
      <description>I am writing a program to convert timestamp back to date/time format.&lt;BR /&gt;&lt;BR /&gt;But it fail to compile.&lt;BR /&gt;&lt;BR /&gt;I think this is because I use the kernel compiler which has limit function.&lt;BR /&gt;&lt;BR /&gt;So how can I do it in other way?&lt;BR /&gt;&lt;BR /&gt;Thx.</description>
      <pubDate>Wed, 12 Dec 2001 08:04:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/timestamp-problem/m-p/2630042#M920783</guid>
      <dc:creator>Ryan Ma</dc:creator>
      <dc:date>2001-12-12T08:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/timestamp-problem/m-p/2630043#M920784</link>
      <description>If it depends on the compiler you should install a full ANSI compiler like gcc&lt;BR /&gt;Download it from :&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.cs.utah.edu/hppd/hpux/Gnu/gcc-3.0.1/" target="_blank"&gt;http://hpux.cs.utah.edu/hppd/hpux/Gnu/gcc-3.0.1/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Rainer&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Dec 2001 08:12:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/timestamp-problem/m-p/2630043#M920784</guid>
      <dc:creator>Rainer von Bongartz</dc:creator>
      <dc:date>2001-12-12T08:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/timestamp-problem/m-p/2630044#M920785</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Can you use perl, e.g.:&lt;BR /&gt;&lt;BR /&gt;# perl -e 'print scalar localtime($ARGV[0]),"\n"' 1008145059&lt;BR /&gt;Wed Dec 12 08:17:39 2001&lt;BR /&gt;&lt;BR /&gt;Rgds, Robin</description>
      <pubDate>Wed, 12 Dec 2001 08:18:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/timestamp-problem/m-p/2630044#M920785</guid>
      <dc:creator>Robin Wakefield</dc:creator>
      <dc:date>2001-12-12T08:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/timestamp-problem/m-p/2630045#M920786</link>
      <description>Hi Ryan:&lt;BR /&gt;&lt;BR /&gt;You can also do this:&lt;BR /&gt;&lt;BR /&gt;# TS=1000000000       &lt;BR /&gt;echo "0d${TS}=Y"|adb&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 12 Dec 2001 08:19:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/timestamp-problem/m-p/2630045#M920786</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-12-12T08:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/timestamp-problem/m-p/2630046#M920787</link>
      <description>Hi Robin, &lt;BR /&gt;&lt;BR /&gt;Why I produce no result?&lt;BR /&gt;I follow your command already.&lt;BR /&gt;&lt;BR /&gt;# perl -e 'print scalar localtime($ARGV[0]),"\n"' 1008145059 &lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Ryan</description>
      <pubDate>Wed, 12 Dec 2001 08:26:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/timestamp-problem/m-p/2630046#M920787</guid>
      <dc:creator>Ryan Ma</dc:creator>
      <dc:date>2001-12-12T08:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/timestamp-problem/m-p/2630047#M920788</link>
      <description>Hi Ryan,&lt;BR /&gt;&lt;BR /&gt;I guess you're running V4 of perl.  The long-winded way for V4 would be to create a perl script:&lt;BR /&gt;&lt;BR /&gt;@dow=("Sun","Mon","Tue","Wed","Thu","Fri","Sat");&lt;BR /&gt;@moy=("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec");&lt;BR /&gt;($sec, $min, $hour, $day, $month, $year, $wday)=(localtime($ARGV[0]))[0,1,2,3,4,5,6];&lt;BR /&gt;printf ("%s %s %02d %02d:%02d:%02d %04d\n",$dow[$wday],$moy[$month],$day,$hour,$min,$sec,$year+1900);&lt;BR /&gt;&lt;BR /&gt;then run:&lt;BR /&gt;&lt;BR /&gt;# perl yourscript timestamp&lt;BR /&gt;&lt;BR /&gt;Rgds, Robin&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Dec 2001 08:52:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/timestamp-problem/m-p/2630047#M920788</guid>
      <dc:creator>Robin Wakefield</dc:creator>
      <dc:date>2001-12-12T08:52:15Z</dc:date>
    </item>
  </channel>
</rss>

