Are you getting any errors?
Also, I don't think you can just call functions like getSeconds(). Such functions are methods specific to Date() values.
Try replacing getMinutes() with now.getMinutes() and same with getSeconds() and getHours().
HTH,
Snib
<><