HOW TO
Feature layers with date and time (temporal) information stored can be used to select specific attributes for querying, exploring, analyzing, or modifying data.
The instructions demonstrate how to use the ArcGIS Pro Select By Attributes geoprocessing tool to identify specific ranges of date fields for further analysis. In this example, the UPDATED date field in the Schools_all feature class is used to identify the attribute fields within the range of 120 days before October 15, 2013, and 100 days before October 15, 2012.
Note: By default, the query builder is in Clause mode. Toggle the SQL option on to open it in SQL mode.
<field name> >= CURRENT_DATE() AND <field name> - <number of days> <= CURRENT_DATE()
<field name> >= date '<yyyy-mm-dd>' - <number of days> AND <field name> <= date '<yyyy-mm-dd>' OR <field name> >= date '<yyyy-mm-dd>' - <number of days> AND <field name> <= date '<yyyy-mm-dd>'
Get help from ArcGIS experts
Download the Esri Support App