感谢那些向我展示建立客户约会的人......我建造了它...现在我只需要时区:
var months = new Array(13);
months[0] = "Jan";
months[1] = "Feb";
months[2] = "Mar";
months[3] = "Apr";
months[4] = "May";
months[5] = "Jun";
months[6] = "Jul";
months[7] = "Aug";
months[8] = "Sep";
months[9] = "Oct";
months[10] = "Nov";
months[11] = "Dec";
var now = new Date();
var hour = now.getHours();
var minute = now.getMinutes();
var second = now.getSeconds();
var monthnumber = now.getMonth();
var monthname = months[monthnumber];
var monthday = now.getDate();
var year = now.getYear();
var systemdate = monthday + " " + monthname + " " + year + " " + "@ " + hour + ":" + minute + ":" + second
这给了我: 2011年8月5日@ 11:11:14
我需要: 2011年8月5日美国东部时间晚上11:11:14
感谢