| Yep, that's correct, it's specifying hours for the unit of difference between the two dates.
For the null thing, you just need to do a check on date_action first to make sure it isn't null before trying to use it in a DateDiff function.
Not sure what you're asking about the second line of code.
__________________ |