<?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 TIMESTAMP queries down to the second in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/timestamp-queries-down-to-the-second/m-p/645126#M5746</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my mobile app (in Swift), I query a feature service in ArcGIS Online. My where clause looks like this:&lt;/P&gt;&lt;PRE class="line-numbers language-sql"&gt;&lt;CODE&gt;EditDate &lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;TIMESTAMP&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'2018-11-17 23:29:34'&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;My results include records with EditDate &lt;STRONG&gt;equal&lt;/STRONG&gt; to the timestamp. I have printed the six returned features' EditDates to the console to make sure I wasn't missing something. They all printed this: "2018-11-17 23:29:34 +0000". Is this a bug in the query routines? Does the EditDate field hold the fraction of the second when the edit actually took place? If so, is there a way for me to access the fractional part in a query?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Nov 2018 22:52:25 GMT</pubDate>
    <dc:creator>WorthSparks</dc:creator>
    <dc:date>2018-11-19T22:52:25Z</dc:date>
    <item>
      <title>TIMESTAMP queries down to the second</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/timestamp-queries-down-to-the-second/m-p/645126#M5746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my mobile app (in Swift), I query a feature service in ArcGIS Online. My where clause looks like this:&lt;/P&gt;&lt;PRE class="line-numbers language-sql"&gt;&lt;CODE&gt;EditDate &lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;TIMESTAMP&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'2018-11-17 23:29:34'&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;My results include records with EditDate &lt;STRONG&gt;equal&lt;/STRONG&gt; to the timestamp. I have printed the six returned features' EditDates to the console to make sure I wasn't missing something. They all printed this: "2018-11-17 23:29:34 +0000". Is this a bug in the query routines? Does the EditDate field hold the fraction of the second when the edit actually took place? If so, is there a way for me to access the fractional part in a query?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2018 22:52:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/timestamp-queries-down-to-the-second/m-p/645126#M5746</guid>
      <dc:creator>WorthSparks</dc:creator>
      <dc:date>2018-11-19T22:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: TIMESTAMP queries down to the second</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/timestamp-queries-down-to-the-second/m-p/645127#M5747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I fixed my problem by adding one second to the time and using &amp;gt;=.&lt;/P&gt;&lt;PRE class="line-numbers language-sql"&gt;&lt;CODE&gt;EditDate &lt;SPAN class="operator token"&gt;&amp;gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;TIMESTAMP&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'2018-11-17 23:29:35'&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;It seems like this should be more intuitive though.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2018 13:24:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/timestamp-queries-down-to-the-second/m-p/645127#M5747</guid>
      <dc:creator>WorthSparks</dc:creator>
      <dc:date>2018-11-20T13:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: TIMESTAMP queries down to the second</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/timestamp-queries-down-to-the-second/m-p/645128#M5748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The ArcGIS Runtime SDK for iOS supports down to millisecond. It seems that it's possible however the data was stored is where the date was truncated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2018 16:05:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/timestamp-queries-down-to-the-second/m-p/645128#M5748</guid>
      <dc:creator>RyanOlson1</dc:creator>
      <dc:date>2018-12-03T16:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: TIMESTAMP queries down to the second</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/timestamp-queries-down-to-the-second/m-p/645129#M5749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the ArcGIS Online feature service? Maybe this is a limitation of ArcGIS Online?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2018 17:16:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/timestamp-queries-down-to-the-second/m-p/645129#M5749</guid>
      <dc:creator>WorthSparks</dc:creator>
      <dc:date>2018-12-03T17:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: TIMESTAMP queries down to the second</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/timestamp-queries-down-to-the-second/m-p/645130#M5750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;AFAIK the backend services support more precise dates. I'm wondering if it was just however the data was initially collected, the app that the data was initially collected in. I'm not sure how the data was entered, and with what interface. My guess is that is the source of the problem. You might want to ask on the forum associated with that app/interface.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2018 17:21:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/timestamp-queries-down-to-the-second/m-p/645130#M5750</guid>
      <dc:creator>RyanOlson1</dc:creator>
      <dc:date>2018-12-03T17:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: TIMESTAMP queries down to the second</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/timestamp-queries-down-to-the-second/m-p/645131#M5751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The data isn't &lt;EM&gt;collected&lt;/EM&gt;. it is only when I query the feature service for EditDate, which is originated by the ArcGIS Online server, that I don't get sub-second accuracy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2018 17:53:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/timestamp-queries-down-to-the-second/m-p/645131#M5751</guid>
      <dc:creator>WorthSparks</dc:creator>
      <dc:date>2018-12-03T17:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: TIMESTAMP queries down to the second</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/timestamp-queries-down-to-the-second/m-p/645132#M5752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry. What application is populating the EditDate field?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2018 17:56:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/timestamp-queries-down-to-the-second/m-p/645132#M5752</guid>
      <dc:creator>RyanOlson1</dc:creator>
      <dc:date>2018-12-03T17:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: TIMESTAMP queries down to the second</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/timestamp-queries-down-to-the-second/m-p/645133#M5753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As far as I can tell, that gets populated during my call to AGSServiceFeatureTable.applyEdits(), either locally or on the server.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2018 18:00:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/timestamp-queries-down-to-the-second/m-p/645133#M5753</guid>
      <dc:creator>WorthSparks</dc:creator>
      <dc:date>2018-12-03T18:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: TIMESTAMP queries down to the second</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/timestamp-queries-down-to-the-second/m-p/645134#M5754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As suspected, there seems to be an issue with ArcGIS Online Feature Service,&amp;nbsp;&lt;/P&gt;&lt;P&gt;During editing, Runtime Client SDK's pass the epoch time (that includes milliseconds) and the Feature Service and the database behind it actually holds the millisecond information for the edit dates. However the parser that was parsing the where clause on the Feature Service is ignoring the millisecond information during queries when TIMESTAMP keyword is provided.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex:&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. This is not working&amp;nbsp; as milliseconds&amp;nbsp;are being ignored. Runtime clients would need this to work to get millisecond accuracy for queries&amp;nbsp;&lt;/P&gt;&lt;PRE class="" style="color: #000000; background: #f5f2f0; border: 0px; margin: 0.5em 0px; padding: 1em 1em 1em 3.8em;"&gt;&lt;CODE style="border: 0px; font-weight: inherit;"&gt;EditDate &lt;SPAN class="" style="color: #a67f59; background: rgba(255, 255, 255, 0.5); border: 0px; font-weight: inherit;"&gt;&amp;gt;=&lt;/SPAN&gt; &lt;SPAN class="" style="color: #0077aa; border: 0px; font-weight: inherit;"&gt;TIMESTAMP&lt;/SPAN&gt; &lt;SPAN class="" style="color: #669900; border: 0px; font-weight: inherit;"&gt;'2018-11-17 23:29:35.500'&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;2. However this works&amp;nbsp;at Feature Service level, where it by-passes the where clause parser and directly queries the database&lt;/P&gt;&lt;PRE class="" style="color: #000000; background: #f5f2f0; border: 0px; margin: 0.5em 0px; padding: 1em 1em 1em 3.8em;"&gt;&lt;CODE style="border: 0px; font-weight: inherit;"&gt;EditDate &lt;SPAN class="" style="color: #a67f59; background: rgba(255, 255, 255, 0.5); border: 0px; font-weight: inherit;"&gt;&amp;gt;=&lt;/SPAN&gt; '&lt;SPAN class="" style="color: #669900; border: 0px; font-weight: inherit;"&gt;2018-11-17 23:29:35.500'&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Dec 2018 22:41:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/timestamp-queries-down-to-the-second/m-p/645134#M5754</guid>
      <dc:creator>RamaChintapalli</dc:creator>
      <dc:date>2018-12-04T22:41:41Z</dc:date>
    </item>
    <item>
      <title>Re: TIMESTAMP queries down to the second</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/timestamp-queries-down-to-the-second/m-p/645135#M5755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So are you saying currently there is no way to query to the millisecond level if I am using ArcGIS Runtime SDK? What do you mean by &lt;EM&gt;works at Feature Service level&lt;/EM&gt;?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2018 13:46:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/timestamp-queries-down-to-the-second/m-p/645135#M5755</guid>
      <dc:creator>WorthSparks</dc:creator>
      <dc:date>2018-12-13T13:46:18Z</dc:date>
    </item>
  </channel>
</rss>

