<?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 Epoch Time in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/epoch-time/m-p/2551193#M876523</link>
    <description>Does anyone know of a unix command (or perl scrip) that converts an epoch time into unix time?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Martin&lt;BR /&gt;</description>
    <pubDate>Wed, 11 Jul 2001 07:32:23 GMT</pubDate>
    <dc:creator>Martin Schilk</dc:creator>
    <dc:date>2001-07-11T07:32:23Z</dc:date>
    <item>
      <title>Epoch Time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/epoch-time/m-p/2551193#M876523</link>
      <description>Does anyone know of a unix command (or perl scrip) that converts an epoch time into unix time?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Martin&lt;BR /&gt;</description>
      <pubDate>Wed, 11 Jul 2001 07:32:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/epoch-time/m-p/2551193#M876523</guid>
      <dc:creator>Martin Schilk</dc:creator>
      <dc:date>2001-07-11T07:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: Epoch Time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/epoch-time/m-p/2551194#M876524</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Following script converts epoch time into human (real) time. If "unix time" you mention means real time, that's it:&lt;BR /&gt;&lt;BR /&gt;#include &lt;TIME.H&gt;&lt;BR /&gt;        main(argc, argv)&lt;BR /&gt;&lt;BR /&gt;        int argc;&lt;BR /&gt;        char **argv;&lt;BR /&gt;        {&lt;BR /&gt;         time_t foo;&lt;BR /&gt;         foo = atoi(argv[1]);&lt;BR /&gt;         printf("%s",ctime(&amp;amp;foo));&lt;BR /&gt;        }&lt;BR /&gt;&lt;BR /&gt;Good luck,&lt;/TIME.H&gt;</description>
      <pubDate>Wed, 11 Jul 2001 07:38:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/epoch-time/m-p/2551194#M876524</guid>
      <dc:creator>Marcin Wicinski</dc:creator>
      <dc:date>2001-07-11T07:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: Epoch Time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/epoch-time/m-p/2551195#M876525</link>
      <description>Create a script as follows:&lt;BR /&gt;&lt;BR /&gt;#!/usr/bin/perl (or whatever)&lt;BR /&gt;print scalar localtime($ARGV[0]),"\n";&lt;BR /&gt;&lt;BR /&gt;then you'll get:&lt;BR /&gt;&lt;BR /&gt;$ script 994841017&lt;BR /&gt;Wed Jul 11 09:43:37 2001&lt;BR /&gt;$&lt;BR /&gt;&lt;BR /&gt;Robin.</description>
      <pubDate>Wed, 11 Jul 2001 07:44:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/epoch-time/m-p/2551195#M876525</guid>
      <dc:creator>Robin Wakefield</dc:creator>
      <dc:date>2001-07-11T07:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: Epoch Time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/epoch-time/m-p/2551196#M876526</link>
      <description>just a quick contribution to mention&lt;BR /&gt;&lt;BR /&gt;timelocal, a perl function to convert date/time in epoch... always useful to compare dates.&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Wed, 11 Jul 2001 11:37:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/epoch-time/m-p/2551196#M876526</guid>
      <dc:creator>Bruno DESQUESNE</dc:creator>
      <dc:date>2001-07-11T11:37:22Z</dc:date>
    </item>
  </channel>
</rss>

