<?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  why currentTime() function value is negative value in ArcGIS GeoEvent Server Questions</title>
    <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/why-currenttime-function-value-is-negative-value/m-p/563518#M2479</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using geoevent to handle real-time data with pull an external website for json&amp;nbsp;&lt;/P&gt;&lt;P&gt;I create a processor to calculate current using currentTime() function format in Long and put&amp;nbsp; it in a new geoevent definition&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" height="206" src="https://community.esri.com/legacyfs/online/409893_pastedImage_2.png" width="535" /&gt;&lt;/P&gt;&lt;P&gt;than I use field mapper to map the 'current' into my feature layer so I can see the value of it&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" height="138" src="https://community.esri.com/legacyfs/online/409894_pastedImage_3.png" width="591" /&gt;&lt;/P&gt;&lt;P&gt;but I get the value like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/409892_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if I change the number into date format, I will get a day in 1916&amp;nbsp;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;Aug 20&lt;/SPAN&gt;&amp;nbsp;Sunday &lt;SPAN&gt;18:40:11&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is it correct or where am I do wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ps. I am following &lt;A href="https://community.esri.com/migrated-users/3639"&gt;Mark Bramer&lt;/A&gt;&amp;nbsp;'s reply in geoevent filter to ensure a date field is within a tolerance of the current time&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 26 May 2018 09:58:09 GMT</pubDate>
    <dc:creator>Han-WenLIU</dc:creator>
    <dc:date>2018-05-26T09:58:09Z</dc:date>
    <item>
      <title>why currentTime() function value is negative value</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/why-currenttime-function-value-is-negative-value/m-p/563518#M2479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using geoevent to handle real-time data with pull an external website for json&amp;nbsp;&lt;/P&gt;&lt;P&gt;I create a processor to calculate current using currentTime() function format in Long and put&amp;nbsp; it in a new geoevent definition&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" height="206" src="https://community.esri.com/legacyfs/online/409893_pastedImage_2.png" width="535" /&gt;&lt;/P&gt;&lt;P&gt;than I use field mapper to map the 'current' into my feature layer so I can see the value of it&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" height="138" src="https://community.esri.com/legacyfs/online/409894_pastedImage_3.png" width="591" /&gt;&lt;/P&gt;&lt;P&gt;but I get the value like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/409892_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if I change the number into date format, I will get a day in 1916&amp;nbsp;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;Aug 20&lt;/SPAN&gt;&amp;nbsp;Sunday &lt;SPAN&gt;18:40:11&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is it correct or where am I do wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ps. I am following &lt;A href="https://community.esri.com/migrated-users/3639"&gt;Mark Bramer&lt;/A&gt;&amp;nbsp;'s reply in geoevent filter to ensure a date field is within a tolerance of the current time&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 May 2018 09:58:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/why-currenttime-function-value-is-negative-value/m-p/563518#M2479</guid>
      <dc:creator>Han-WenLIU</dc:creator>
      <dc:date>2018-05-26T09:58:09Z</dc:date>
    </item>
  </channel>
</rss>

