kbaccouche
kbaccouche

Reputation: 4605

Countdown timer in rails

In my application, I have a deadline in this format : 2011-08-26 16:45:00 UTC. In my controller, I am calculating the difference between this date and the current one. The result looks like this : 64:18:13. I want to create a timer which counts from 64:18:13 until 00:00:00. How can I do it ? Thanks.

Upvotes: 0

Views: 6882

Answers (1)

dexter
dexter

Reputation: 13583

See the jQuery Countdown plugin and also this SO question if you face any issues

Upvotes: 1

Related Questions