开发者

Countdown timer in rails

开发者 https://www.devze.com 2023-03-31 16:09 出处:网络
In my application, I have a deadline in this format : 2011-08-26 16:45:00 UTC. In my controller, I am cal开发者_StackOverflow中文版culating the difference between this date and the current one. The re

In my application, I have a deadline in this format : 2011-08-26 16:45:00 UTC. In my controller, I am cal开发者_StackOverflow中文版culating 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.


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

0

精彩评论

暂无评论...
验证码 换一张
取 消