I am trying to use a search cursor to look up a date field to only return LastUpdates within the last 30 days.
today = datetime.date.today()
I want to use the datetime and date field types which are in different formats and is why I can't calculate the difference.
How can I format them the same to accomplish this ?
Solved! Go to Solution.
bixb0012, thanks for sharing the code. It has been added to my snippets collection.