<?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 on last_edited_date attribute in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/query-on-last-edited-date-attribute/m-p/1250331#M80004</link>
    <description>&lt;P&gt;Hello everybody,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to query on the editor tracking attributes, especially last_editor_date on the last month. I tried but I Doesn't wok, I think I'm very far away the answer! I didn't find anything on internet, it would be nice if someone could help me. Thank you!!&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;//Assign a where clause, returnGeometry, and outFields to the Query class.
 let query = fl_prod.createQuery();
 
 query.where = ???, //The where clause
 query.returnGeometry=false, //The boolean property for returning the geometry
        query.outFields= ["IDARRET", "NOMARRET","MNLP_HASTUS","EDITED"] //The fields to return from the query 

      fl_prod.queryFeatures(query)
      .then(function(response){
        let stats = response.features[0].attributes;
     console.log(stats.Edited);
      });&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 23 Jan 2023 11:43:13 GMT</pubDate>
    <dc:creator>KARIMLABIDI</dc:creator>
    <dc:date>2023-01-23T11:43:13Z</dc:date>
    <item>
      <title>Query on last_edited_date attribute</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/query-on-last-edited-date-attribute/m-p/1250331#M80004</link>
      <description>&lt;P&gt;Hello everybody,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to query on the editor tracking attributes, especially last_editor_date on the last month. I tried but I Doesn't wok, I think I'm very far away the answer! I didn't find anything on internet, it would be nice if someone could help me. Thank you!!&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;//Assign a where clause, returnGeometry, and outFields to the Query class.
 let query = fl_prod.createQuery();
 
 query.where = ???, //The where clause
 query.returnGeometry=false, //The boolean property for returning the geometry
        query.outFields= ["IDARRET", "NOMARRET","MNLP_HASTUS","EDITED"] //The fields to return from the query 

      fl_prod.queryFeatures(query)
      .then(function(response){
        let stats = response.features[0].attributes;
     console.log(stats.Edited);
      });&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2023 11:43:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/query-on-last-edited-date-attribute/m-p/1250331#M80004</guid>
      <dc:creator>KARIMLABIDI</dc:creator>
      <dc:date>2023-01-23T11:43:13Z</dc:date>
    </item>
    <item>
      <title>Re: Query on last_edited_date attribute</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/query-on-last-edited-date-attribute/m-p/1250391#M80008</link>
      <description>&lt;P&gt;The were clause will be in SQL, so the precise answer can depend on your database backend. This blog article covers the basics, though: &lt;A href="https://www.esri.com/arcgis-blog/products/api-rest/data-management/querying-feature-services-date-time-queries/" target="_blank"&gt;https://www.esri.com/arcgis-blog/products/api-rest/data-management/querying-feature-services-date-time-queries/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2023 15:10:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/query-on-last-edited-date-attribute/m-p/1250391#M80008</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2023-01-23T15:10:15Z</dc:date>
    </item>
    <item>
      <title>Re: Query on last_edited_date attribute</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/query-on-last-edited-date-attribute/m-p/1250715#M80017</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/363906"&gt;@jcarlson&lt;/a&gt;&amp;nbsp;, i found the solution &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;query&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;where&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;"Edited &amp;gt; CURRENT_TIMESTAMP - 30"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 24 Jan 2023 11:22:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/query-on-last-edited-date-attribute/m-p/1250715#M80017</guid>
      <dc:creator>KARIMLABIDI</dc:creator>
      <dc:date>2023-01-24T11:22:32Z</dc:date>
    </item>
  </channel>
</rss>

