<?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 Query based on datetime field over geodatabase offline layer doesn't work in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/query-based-on-datetime-field-over-geodatabase/m-p/212422#M8401</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've downloaded a local geodatabase to work offline in my Windows 8.1 Tablet, and I need to get features from a specific layer based on datetime field, I can get this with online layer in rest service through next line:&lt;/P&gt;&lt;P&gt;"REALDATE&amp;nbsp;&amp;gt;= date '" + DateTime.Now.ToUniversalTime() + "' AND REALDATE &amp;lt;= date '" + DateTime.Now.AddDays(1).ToUniversalTime()&amp;nbsp;+"' and works perfectly; but when I tried to execute this query on my local geodatabase layer, never return features, someone could explain why it is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Jan 2017 01:42:45 GMT</pubDate>
    <dc:creator>JorgeAtanacio_Galindo</dc:creator>
    <dc:date>2017-01-25T01:42:45Z</dc:date>
    <item>
      <title>Query based on datetime field over geodatabase offline layer doesn't work</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/query-based-on-datetime-field-over-geodatabase/m-p/212422#M8401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've downloaded a local geodatabase to work offline in my Windows 8.1 Tablet, and I need to get features from a specific layer based on datetime field, I can get this with online layer in rest service through next line:&lt;/P&gt;&lt;P&gt;"REALDATE&amp;nbsp;&amp;gt;= date '" + DateTime.Now.ToUniversalTime() + "' AND REALDATE &amp;lt;= date '" + DateTime.Now.AddDays(1).ToUniversalTime()&amp;nbsp;+"' and works perfectly; but when I tried to execute this query on my local geodatabase layer, never return features, someone could explain why it is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2017 01:42:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/query-based-on-datetime-field-over-geodatabase/m-p/212422#M8401</guid>
      <dc:creator>JorgeAtanacio_Galindo</dc:creator>
      <dc:date>2017-01-25T01:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: Query based on datetime field over geodatabase offline layer doesn't work</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/query-based-on-datetime-field-over-geodatabase/m-p/212423#M8402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The GeoNet Help place is for help with GeoNet itself, not general help from the GeoNet community.&amp;nbsp; You might want to move this to another place to increase visibility.&amp;nbsp; For now, I will share with &lt;A href="https://community.esri.com/community/gis?sr=search&amp;amp;searchId=e7ebcacc-1fb0-4d49-ab8b-b2f221111e1e&amp;amp;searchIndex=0"&gt;https://community.esri.com/community/gis?sr=search&amp;amp;searchId=e7ebcacc-1fb0-4d49-ab8b-b2f221111e1e&amp;amp;searchIndex=0&lt;/A&gt;‌ to get a few more pairs of eyes on it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seeing that you aren't using a RESTful query to access the data in the local geodatabase, how are you accessing the local/offline data.&amp;nbsp; I can't really comment on the format of the query until I know more about how or what app/tool you are using to access the local/offline data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2017 02:15:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/query-based-on-datetime-field-over-geodatabase/m-p/212423#M8402</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2017-01-25T02:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: Query based on datetime field over geodatabase offline layer doesn't work</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/query-based-on-datetime-field-over-geodatabase/m-p/212424#M8403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Joshua, thank you for your response, I'm developing a Windows Store App using ArcGIS Runtime SDK for .NET Ver. 10.2.7; I'm using services pattern to get my local geodatabase and coding in C# over Visual Studio 2015.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have published my service in ArcGIS for Server 10.4.1, and layers are on SQL Server 2014.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2017 02:28:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/query-based-on-datetime-field-over-geodatabase/m-p/212424#M8403</guid>
      <dc:creator>JorgeAtanacio_Galindo</dc:creator>
      <dc:date>2017-01-25T02:28:01Z</dc:date>
    </item>
  </channel>
</rss>

