<html>
<body>
<script type="text/vbscript">
document.write("今天的日期是:" & date())
document.write("<br />")
document.write("时间是:" & time())
document.write("Today's day is " & WeekdayName(weekday(date)))
document.write("<br />")
document.write("The month is " & MonthName(month(date)))
</script>
</body>
</html>
函数均是vbscript自带的
[
本帖最后由 jingjing316 于 2009-8-23 08:51 编辑 ]