Answered
add 4 hours to a variable
I need to add 4 hours to a variable. This is the variable:
<cfparam name="application.startFacTime" default = "#Dateformat(now())#" />
I want to compare application.startFacTime + 4 hours to Now.
If Now and the variable are the same date, I want to see if adding 4 hours to the
variable will result a time that's 4 or more hours older than Now.
If that's true, I run a query and do some other stuff and then
reset the variable to Dateformat(now())
Thanks for any help!
<cfparam name="application.startFacTime" default = "#Dateformat(now())#" />
I want to compare application.startFacTime + 4 hours to Now.
If Now and the variable are the same date, I want to see if adding 4 hours to the
variable will result a time that's 4 or more hours older than Now.
If that's true, I run a query and do some other stuff and then
reset the variable to Dateformat(now())
Thanks for any help!
