That would have to be changed daily. It would work but I don't think he wants to do that.<BR><BR>Set up a hidden field with the time that you want to be fixed such as 3:00 AM. Then compare that to now() and subtract the difference. The FAQ's here may give you some help on comparing dates and times. Just set the hidden field to the time you want and your set.
Not a problem. I almost posted the same script before I realized he wants a set time ALL the time. At least that's the way I read his post. I could be wrong. The script you posted would work as I said but he would have to change it daily. I think he's better off writing a script to handle his function.