<?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: POSIX time weirdness in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/POSIX-time-weirdness/m-p/62118#M3915</link>
    <description>It's most definitely milliseconds.&lt;BR /&gt;From what I can tell, some implementations of POSIX time do seconds, others do milliseconds, and others still do microseconds.</description>
    <pubDate>Fri, 06 Sep 2019 22:05:07 GMT</pubDate>
    <dc:creator>PhoneBoy</dc:creator>
    <dc:date>2019-09-06T22:05:07Z</dc:date>
    <item>
      <title>POSIX time weirdness</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/POSIX-time-weirdness/m-p/61976#M3909</link>
      <description>&lt;P&gt;While looking at some objects in my R80.20 jumbo 33 SmartCenter, I noticed the "posix" values for creation and modification dates have too many digits. POSIX time is seconds since 1970-01-01T00:00:00Z, minus leap seconds. The largest value which can be represented with a 32-bit counter is&amp;nbsp;&lt;SPAN&gt;2,&lt;/SPAN&gt;&lt;SPAN&gt;147,&lt;/SPAN&gt;&lt;SPAN&gt;483,&lt;/SPAN&gt;&lt;SPAN&gt;647, leading to the 2038 problem. I'm seeing values like&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;1,567,547,444,907.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The first ten digits match POSIX time for when I believe the object was last changed.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Maybe the extras are for milliseconds? If so, c&lt;/SPAN&gt;alling it POSIX time is incorrect.&lt;/P&gt;&lt;P&gt;Can anybody explain what is going on?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2019 19:38:58 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/POSIX-time-weirdness/m-p/61976#M3909</guid>
      <dc:creator>Bob_Zimmerman</dc:creator>
      <dc:date>2019-09-05T19:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: POSIX time weirdness</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/POSIX-time-weirdness/m-p/62118#M3915</link>
      <description>It's most definitely milliseconds.&lt;BR /&gt;From what I can tell, some implementations of POSIX time do seconds, others do milliseconds, and others still do microseconds.</description>
      <pubDate>Fri, 06 Sep 2019 22:05:07 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/POSIX-time-weirdness/m-p/62118#M3915</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2019-09-06T22:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: POSIX time weirdness</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/POSIX-time-weirdness/m-p/62130#M3916</link>
      <description>&lt;P&gt;Good to know. Definitely not POSIX-compliant time representation, though. As of &lt;A href="https://pubs.opengroup.org/onlinepubs/9699919799/" target="_self"&gt;&lt;SPAN&gt;IEEE Std 1003.1-2017&lt;/SPAN&gt;&lt;/A&gt;, POSIX specified in &lt;A href="https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_time.h.html" target="_self"&gt;sys/time.h&lt;/A&gt; that the timeval struct shall contain time_t (time in seconds) and suseconds_t (time since time_t in microseconds). It doesn't specify the time has to only be 32-bits, but it does separate the whole seconds from the fractional seconds.&lt;/P&gt;&lt;P&gt;&lt;A href="https://pubs.opengroup.org/onlinepubs/9699919799/utilities/date.html" target="_self"&gt;The specification for the 'date' utility&lt;/A&gt; doesn't even include options for sub-second output.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2019 23:20:46 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/POSIX-time-weirdness/m-p/62130#M3916</guid>
      <dc:creator>Bob_Zimmerman</dc:creator>
      <dc:date>2019-09-06T23:20:46Z</dc:date>
    </item>
  </channel>
</rss>

