//获得当前时间组成的字符串
function getDateTimeStr()
{
var s="";
var d = new Date();
s += d.getFullYear() + "/";
s += (d.getMonth() + 1) + "/";
s += d.getDate() + " ";
var c = ":";
s += d.getHours() + c;
s += d.getMinutes() + c;
s += d.getSeconds();
return s;
}
function getDateTimeStr()
{
var s="";
var d = new Date();
s += d.getFullYear() + "/";
s += (d.getMonth() + 1) + "/";
s += d.getDate() + " ";
var c = ":";
s += d.getHours() + c;
s += d.getMinutes() + c;
s += d.getSeconds();
return s;
}