<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
</head><body>
<%dim i as string = Now()
response.write (i)%>
</body>
</html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
</head><body>
<%dim i as string = Now()
response.write (i)%>
</body>
</html>
解决方案 »
- 在ASP.NET中插入的windows media player在浏览器中查看时不能播放
- asp.net中将sql server 2000数据库导出到excel时规定操作范围
- 请问如何通过属性名称的字符串得到该属性的值?
- 高手帮我解决个时间对比的问题
- asp.net 中如何做到对一个页面的插入向asp中include一样
- 关于asp.net打包的问题
- URL中文件名和目录名加#号后,如何通过地址栏访问或下载到?
- 求简单三层开发的例子
- Index was outside the bounds of the array是什么错误?怪事
- 关于hashtable问题
- cookies 的问题,,,进来有分~~
- 使用Com有什么好,我自定义控件还不够吗?
也可以直接在页面中写。
<script>
var d = new Date();
var y = d.getFullYear();
var m = d.getMonth()+1;
var day = d.getDay();
</script>
将y,m,day拼起来就是日期了