需要有关 JQuery UTC 日期函数的帮助
我正在尝试使用 Jquery 倒计时插件,但我在 UTC 日期格式设置方面遇到问题。
我希望倒计时的日期是 2010 年 7 月 23 日星期五。
这是相关代码...
until: $.countdown.UTCDate(2010, 7 - 1, 23),
format: 'YOD',
输出只是 00.00.00 等
有人可以帮助我吗?
预先感谢,
丹
I am trying 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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
http://keith-wood.name/countdownRef.html#UTCDate
第一个参数UTCDate 应该是您的时区偏移量:
http://keith-wood.name/countdownRef.html#UTCDate
The first parameter to UTCDate should be your timezone offset: