<?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: Decoding esriFieldTypeDate results in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/decoding-esrifieldtypedate-results/m-p/1524778#M40377</link>
    <description>&lt;P&gt;Good question, Joshua.&amp;nbsp;&amp;nbsp;You are correct that they haven't specified their tools.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Although it may not be the most elegant solution, I followed that last approach by creating and publishing a (postgresql) database view using the following SQL:&lt;/P&gt;&lt;P&gt;SELECT *, to_char(in_edit_date, 'MMDDYY') as in_date FROM Dev_Cadastral_Parcels WHERE 1 = 1&lt;/P&gt;</description>
    <pubDate>Tue, 20 Aug 2024 22:15:37 GMT</pubDate>
    <dc:creator>RodmanLow</dc:creator>
    <dc:date>2024-08-20T22:15:37Z</dc:date>
    <item>
      <title>Decoding esriFieldTypeDate results</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/decoding-esrifieldtypedate-results/m-p/1524083#M40357</link>
      <description>&lt;P&gt;Querying the same feature layer published (by different people) to both ArcGIS Enterprise 10.9.1 and ArcGIS Online, I am getting a different kind of response in html format to nearly identical queries.&amp;nbsp; For the Enterprise the result is encoded as an integer (e.g. 1699005600000) using an esriFieldTypeDate field type, but for ArcGIS Online it is decoded to a human readable date format (e.g. 11/3/2023 10:00:00 AM).&lt;/P&gt;&lt;P&gt;Users of our service would prefer the latter.&amp;nbsp;&amp;nbsp;What would be the best practice?&amp;nbsp; Is there a parameter in the REST API that can be provided in the query that would set the response format?&amp;nbsp; Do I need to provide multiple solutions for them (python, javascript and others)?&amp;nbsp; Should I change how the data is published in Enterprise (perhaps by publishing a database View)?&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2024 21:46:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/decoding-esrifieldtypedate-results/m-p/1524083#M40357</guid>
      <dc:creator>RodmanLow</dc:creator>
      <dc:date>2024-08-19T21:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: Decoding esriFieldTypeDate results</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/decoding-esrifieldtypedate-results/m-p/1524381#M40364</link>
      <description>&lt;P&gt;Are they using an Esri tool or software program to query?&amp;nbsp; I am guessing not since you mention having "to provide multiple solutions for them," so how exactly are these users interacting with the REST API?&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2024 14:08:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/decoding-esrifieldtypedate-results/m-p/1524381#M40364</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2024-08-20T14:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: Decoding esriFieldTypeDate results</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/decoding-esrifieldtypedate-results/m-p/1524778#M40377</link>
      <description>&lt;P&gt;Good question, Joshua.&amp;nbsp;&amp;nbsp;You are correct that they haven't specified their tools.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Although it may not be the most elegant solution, I followed that last approach by creating and publishing a (postgresql) database view using the following SQL:&lt;/P&gt;&lt;P&gt;SELECT *, to_char(in_edit_date, 'MMDDYY') as in_date FROM Dev_Cadastral_Parcels WHERE 1 = 1&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2024 22:15:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/decoding-esrifieldtypedate-results/m-p/1524778#M40377</guid>
      <dc:creator>RodmanLow</dc:creator>
      <dc:date>2024-08-20T22:15:37Z</dc:date>
    </item>
  </channel>
</rss>

