<?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: Layer definition with date in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/layer-definition-with-date/m-p/237761#M1560</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found myself the answer.Should use; to_date('8/1/2014','MM/DD/YY')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Oct 2014 03:56:26 GMT</pubDate>
    <dc:creator>azzamwahab</dc:creator>
    <dc:date>2014-10-09T03:56:26Z</dc:date>
    <item>
      <title>Layer definition with date</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/layer-definition-with-date/m-p/237760#M1559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have problem with the code below. I try to query based on date for the definition layer. It works if I use Objectid. Ideas? Thanks .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="java" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14122367652125655" jivemacro_uid="_14122367652125655" modifiedtitle="true"&gt;
&lt;P&gt;&lt;SPAN&gt;ArcGISDynamicMapServiceLayer layer = new ArcGISDynamicMapServiceLayer("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://gissvr/arcgis/rest/services/General/forma_my/MapServer" rel="nofollow" target="_blank"&gt;http://gissvr/arcgis/rest/services/General/forma_my/MapServer&lt;/A&gt;&lt;SPAN&gt;");&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif;"&gt;//String q = "OBJECTID = 404" ; //this query returns and display&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;String q = "dateT &amp;gt; date '2014-08-01 00:00:00'" ; //nothing&lt;/P&gt;
&lt;P&gt;layerDefs.put(Integer.valueOf(0),q );&lt;/P&gt;
&lt;P&gt;layer.setLayerDefinitions(layerDefs);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;mMapView.addLayer(layer);&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Oct 2014 08:09:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/layer-definition-with-date/m-p/237760#M1559</guid>
      <dc:creator>azzamwahab</dc:creator>
      <dc:date>2014-10-02T08:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: Layer definition with date</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/layer-definition-with-date/m-p/237761#M1560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found myself the answer.Should use; to_date('8/1/2014','MM/DD/YY')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Oct 2014 03:56:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/layer-definition-with-date/m-p/237761#M1560</guid>
      <dc:creator>azzamwahab</dc:creator>
      <dc:date>2014-10-09T03:56:26Z</dc:date>
    </item>
  </channel>
</rss>

