我有这个代码:
<script>
$(function () {
var march04 = new Date();
var march07 = new Date();
var march11 = new Date();
var march13 = new Date();
var august09 = new Date();
// march04 = new Date(march04.getFullYear() + 0, 3 - 1, 10);
march07 = new Date(march07.getFullYear() + 0, 3 - 1, 8);
march11 = new Date(march11.getFullYear() + 0, 3 - 1, 12);
march13 = new Date(march13.getFullYear() + 0, 3 - 1, 14);
august09 = new Date(august09.getFullYear() + 0, 8 - 1, 10);
$('#march04').countdown({until: march04});
$('#march07').countdown({until: march07});
$('#march11').countdown({until: march11});
$('#march13').countdown({until: march13});
$('#august09').countdown({until: august09});
});
</script>
目前它正在做的是计数到日期,但我也希望它倒计时到特定时间,例如 august09 19:00 pm。你能帮帮我吗?谢谢。