asp 这样写为什么不对呀
请教asp 错在那里<script type="text/javascript">
var dateTime;
//获取本地时间
dateTime = new Date();
dateTime = new Date(dateTime);
var dateArray = new Array();
dateArray[0] = dateTime.getFullYear();
dateArray[1] = parseInt(dateTime.getMonth()) + 1;
dateArray[2] = dateTime.getDate();
dateArray[3] = dateTime.getHours();
dateArray[4] = dateTime.getMinutes();
dateArray[5] = dateTime.getSeconds();
var datum = new Date(Date.UTC(dateArray[0], dateArray[1] - 1, dateArray[2], dateArray[3] - 8, dateArray[4], dateArray[5]));
var a= datum.getTime() / 1000;
var datum = new Date(datum.getTime());
document.write("<br><b>还原到原始日期为</b>: "+datum.toLocaleString());
document.write(a);
</script>
我用asp 这样写为什么不对
<% dim d,y,t,d,h,m,da
da = now()
y = Date()
t = Month() +1
d = Day()
h = hour()
m = minut()
s = second()
s = s /1000
Response.Write "-----------------"&d
Response.Write "-----------------"&s
Response.Write "-----------------"
%>
搜索更多相关主题的帖子: asp