Hi,
I can do it fast for you, but there can be a problem, becouse JavaScript execute on the client side and date/time settings depend on the client information, if client have wrong settings it will show him wrong result, or his reginal setting are bad. My propose is to make some server-side generation for the script.
Thanks,
Igor Racyborysnky