获取本地的时间戳
(new Date()).GETTime()
获取服务器的时间戳通过ajax来获取,我这里用的是jq
new Date($.ajax({async:false}).getResPONseHeader("Date")).getTime();