Hello Friends,
I am querying a feature layer using python. I want to retrieve all records which have been entered after a particular date and time. Based on this https://www.esri.com/arcgis-blog/products/api-rest/data-management/querying-feature-services-date-time-queries/ blog, I have written my script as below:
featureLayer.query(where="CreationDate> TIMESTAMP '2021-05-18 13:20:00'")
The above query gets me all records entered on 2021-05-18 and after that. It is not taking the time component 13:20:00 into consideration. How to write the above query so that I can retrieve only records entered after '2021-05-18 13:20:00' ? In ARCGIS online feature layer the date in the date field is stored as 05/18/2021, 1:19 PM.
Any help on this is much appreciated.
Thanks,
Rauf