<?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 Converting UTC Date to String in ArcGIS GeoEvent Server Questions</title>
    <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/converting-utc-date-to-string/m-p/672375#M2982</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a date field that is a datetime2 field coming from a SQL database. When I ingest through GeoEvent it was being displayed as an Epoch date, eg&amp;nbsp;1510309631000&lt;/P&gt;&lt;P&gt;I create a new field using my date field as a string and use that string to display in my final output. However the date displayed is 5 hours previous to the actual occurred time.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Eg&amp;nbsp;&lt;SPAN&gt;1510309631000&amp;nbsp;&lt;/SPAN&gt;this datetime converts to&amp;nbsp;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;Friday, November 10, 2017 10:27:11 AM using an online converter and is the correct date and time. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;Through GeoEvent my output is&amp;nbsp;Fri Nov 10 05:27:11 EST 2017&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;Any way to get these to match?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Nov 2017 13:54:20 GMT</pubDate>
    <dc:creator>StephaniePiper1</dc:creator>
    <dc:date>2017-11-15T13:54:20Z</dc:date>
    <item>
      <title>Converting UTC Date to String</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/converting-utc-date-to-string/m-p/672375#M2982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a date field that is a datetime2 field coming from a SQL database. When I ingest through GeoEvent it was being displayed as an Epoch date, eg&amp;nbsp;1510309631000&lt;/P&gt;&lt;P&gt;I create a new field using my date field as a string and use that string to display in my final output. However the date displayed is 5 hours previous to the actual occurred time.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Eg&amp;nbsp;&lt;SPAN&gt;1510309631000&amp;nbsp;&lt;/SPAN&gt;this datetime converts to&amp;nbsp;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;Friday, November 10, 2017 10:27:11 AM using an online converter and is the correct date and time. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;Through GeoEvent my output is&amp;nbsp;Fri Nov 10 05:27:11 EST 2017&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;Any way to get these to match?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 13:54:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/converting-utc-date-to-string/m-p/672375#M2982</guid>
      <dc:creator>StephaniePiper1</dc:creator>
      <dc:date>2017-11-15T13:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: Converting UTC Date to String</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/converting-utc-date-to-string/m-p/672376#M2983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I sorted it out, added an additional processor prior to this one to add 18000000 to my original field. Set that to a new field and then set that field to my string.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 15:04:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/converting-utc-date-to-string/m-p/672376#M2983</guid>
      <dc:creator>StephaniePiper1</dc:creator>
      <dc:date>2017-11-15T15:04:00Z</dc:date>
    </item>
  </channel>
</rss>

