ModelBuilder - Iterate DateDiff

12-04-2014 12:06 PM
New Contributor II

am wondering how you would iterate the DateDiff expression. I basically want to look at the first row and select all records within a given paramater of days. So for instance row 1 would have 01/01/14 and I want to iterate through all records and select anything within for instance 31 days.

It might help to explain what I am doing. Once I get a selection of all the dates within 31 days of the selected row I am going to buffer the original row and count how many records within 31 days fall within the buffer. If there are 3 or more it will create a new feature class buffer with those records. If there are not 3 or more it skips to the next record and continues until it makes it through all the records.

0 Kudos
1 Reply
New Contributor

you can do this using python

0 Kudos