getting date from dynamic date ranges

2007-10-23 Thread Andrew Whone
I retrieve a bunch of dynamic DateFroms and DateTos that a user has input into a form. !--- Loop through the dateField IDs to get the Dates ranges--- cfloop list=#form.DatefieldID# index=id !--- Get the dates--- cfset DateFrom = form[dateFrom_ id] cfset DateTo = form[dateTo_

Re: getting date from dynamic date ranges

2007-10-23 Thread Ben Doom
datediff() is what you are looking for. --Ben Doom Andrew Whone wrote: I retrieve a bunch of dynamic DateFroms and DateTos that a user has input into a form. !--- Loop through the dateField IDs to get the Dates ranges--- cfloop list=#form.DatefieldID# index=id !--- Get the