AnsweredAssumed Answered

Python script to delete features which are 10 years old

Question asked by rus5 on Oct 14, 2014


We have some feature classes stored in a feature dataset in ArcSDE . I want to delete the features which are older than 10 years from the feature classes using a python script.

Every feature class has an attribute field "LAST EDITED ON". The sample value is in format "10/14/2014 1:31:52 AM".



Note: The features which are older than 10 years should be deleted from every feature class on daily basis (If there are any).

We are using ArcGIS version 10.1


Any help will be appreciated.


Thanks in advance.

Satish Kadam