Calculate date difference

Discussion created by Ernestocd on Nov 19, 2013
Latest reply on Nov 20, 2013 by Ernestocd
I need to calculate the difference between two dates in days. I need it to work within the Model Builder since these are models that need to be published later as a GP service. I have two fields, one with the Inspection date and the other with the Current date.
Something similar to the below VBscript:

DateDiff("d", [date_field], Now())

Any advice will be appreciated. Thanks in advanced.