开发者

Need Help with JQuery UTC Date function

开发者 https://www.devze.com 2022-12-20 08:04 出处:网络
I am t开发者_如何转开发rying to use the Jquery Countdown plugin but I am having trouble with my UTC Date formatting.

I am t开发者_如何转开发rying to use the Jquery Countdown plugin but I am having trouble with my UTC Date formatting.

The date I wish to countdown to is Friday 23rd July 2010.

Here is the relevant code...

until: $.countdown.UTCDate(2010,  7 - 1, 23), 
                format: 'YOD',

The output is just 00.00.00 etc

Can anybody help me?

Thanks in advance,

Dan


http://keith-wood.name/countdownRef.html#UTCDate

The first parameter to UTCDate should be your timezone offset:

$.countdown.UTCDate(+10, 2010,  7 - 1, 23)
0

精彩评论

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

关注公众号