I am new to python and am trying to switch away from VBA which I had only used in excel. I have a program in excel that basically does hot spot analysis, but am trying to convert the exact same process into ArcGIS.
What I am trying to do is look at record 1 "date_occur" field and calculate the difference in days from record 2. Eventually this will be a loop and data will be written and deleted, but want to start off by learning the basics first.
There are variety of calculating the difference between dates using the datetime module see one example