//生成指定格式的时间(yyyymmddHHmiss)
function getDate(){
var date = new Date();
var month = date.getMonth()+1;
var ms;
if(month<10) ms=""+0+month;
var dateS = "" +date.getFullYear()+ms+date.getDate()+date.getHours()+date.getMinutes()+date.getSeconds();
return dateS;
}
function getDate(){
var date = new Date();
var month = date.getMonth()+1;
var ms;
if(month<10) ms=""+0+month;
var dateS = "" +date.getFullYear()+ms+date.getDate()+date.getHours()+date.getMinutes()+date.getSeconds();
return dateS;
}