我刚刚下载了这个倒计时脚本(JavaScript),但我不知道如何更改计时器倒计时的日期。原始脚本:
$(function(){
var now = new Date();
// comment out the line below and change the date of your countdown here
var in30Days = new Date( now.getTime() + (30 * 24 * 60 * 60 * 1000) );
// year to countdown to
var countdownYear = in30Days.getFullYear();
// month to countdown to 0 = Jan, 1 = Feb, etc
var countdownMonth = in30Days.getMonth();
// day to countdown to
var countdownDay = in30Days.getDate();
var countdownDate = new Date( countdownYear, countdownMonth, countdownDay );
setupCountdownTimer( countdownDate );
spaceParallax();
hideIphoneBar();
$("[placeholder]").togglePlaceholder();
setupSignupForm();
});