<?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: Precise date display in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/precise-date-display/m-p/2435820#M4953</link>
    <description>thanks everyone]&lt;BR /&gt;&lt;BR /&gt;Andy youre a star &lt;BR /&gt;&lt;BR /&gt;Paul Gold&lt;BR /&gt;CAST systems</description>
    <pubDate>Thu, 10 Aug 2000 14:02:01 GMT</pubDate>
    <dc:creator>Paul Gold</dc:creator>
    <dc:date>2000-08-10T14:02:01Z</dc:date>
    <item>
      <title>Precise date display</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/precise-date-display/m-p/2435815#M4948</link>
      <description>Is there any way of modifying the 'date' command to show tenths and hundredths of a second.&lt;BR /&gt;&lt;BR /&gt;I have found the system calls ftime and gettimeofday but as our developer is only able to use shells cripts he would like to use the date command, format using .prec doesnt seem to give the desired results&lt;BR /&gt;&lt;BR /&gt;any help appreciated&lt;BR /&gt;&lt;BR /&gt;Paul Gold&lt;BR /&gt;CAST systems</description>
      <pubDate>Thu, 10 Aug 2000 12:36:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/precise-date-display/m-p/2435815#M4948</guid>
      <dc:creator>Paul Gold</dc:creator>
      <dc:date>2000-08-10T12:36:57Z</dc:date>
    </item>
    <item>
      <title>Re: Precise date display</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/precise-date-display/m-p/2435816#M4949</link>
      <description>Not as far as I know. The C library routines that 'date' uses have a minimum granularity of one second.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;John</description>
      <pubDate>Thu, 10 Aug 2000 12:47:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/precise-date-display/m-p/2435816#M4949</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2000-08-10T12:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: Precise date display</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/precise-date-display/m-p/2435817#M4950</link>
      <description>Paul, not according to the date man page.&lt;BR /&gt;&lt;BR /&gt;Why not, write him a program that uses gettimeofday, and outputs what he wants. Then he can just call it from a shell script.</description>
      <pubDate>Thu, 10 Aug 2000 12:51:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/precise-date-display/m-p/2435817#M4950</guid>
      <dc:creator>Andy Monks</dc:creator>
      <dc:date>2000-08-10T12:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: Precise date display</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/precise-date-display/m-p/2435818#M4951</link>
      <description>Sorry i see no chance to get more precision with the date command.&lt;BR /&gt;Think you have to write a little C program for that.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Andrew</description>
      <pubDate>Thu, 10 Aug 2000 12:52:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/precise-date-display/m-p/2435818#M4951</guid>
      <dc:creator>Andreas Voss</dc:creator>
      <dc:date>2000-08-10T12:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: Precise date display</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/precise-date-display/m-p/2435819#M4952</link>
      <description>Hi Paul,&lt;BR /&gt;&lt;BR /&gt;It's raw, but will work from a script and I'm sure you could clean it up a bit. I'm sure he can cope with nanoseconds :-)&lt;BR /&gt;&lt;BR /&gt;#include &lt;STDIO.H&gt;&lt;BR /&gt;#include &lt;TIME.H&gt;&lt;BR /&gt;main()&lt;BR /&gt;{&lt;BR /&gt;     struct timeval timenow;&lt;BR /&gt;     struct timezone zonenow;&lt;BR /&gt;     &lt;BR /&gt;     gettimeofday(&amp;amp;timenow, &amp;amp;zonenow);&lt;BR /&gt;     printf("time %s",ctime(&amp;amp;timenow.tv_sec));&lt;BR /&gt;     printf("nano %dn",timenow.tv_usec);&lt;BR /&gt;}&lt;/TIME.H&gt;&lt;/STDIO.H&gt;</description>
      <pubDate>Thu, 10 Aug 2000 13:24:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/precise-date-display/m-p/2435819#M4952</guid>
      <dc:creator>Andy Monks</dc:creator>
      <dc:date>2000-08-10T13:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: Precise date display</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/precise-date-display/m-p/2435820#M4953</link>
      <description>thanks everyone]&lt;BR /&gt;&lt;BR /&gt;Andy youre a star &lt;BR /&gt;&lt;BR /&gt;Paul Gold&lt;BR /&gt;CAST systems</description>
      <pubDate>Thu, 10 Aug 2000 14:02:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/precise-date-display/m-p/2435820#M4953</guid>
      <dc:creator>Paul Gold</dc:creator>
      <dc:date>2000-08-10T14:02:01Z</dc:date>
    </item>
  </channel>
</rss>

