貌似LZ说的用VBScript实现不了!
用JS吧!
日期:<div id="time"></div>
<script type="text/javascript">
function newtime(){
var date = new Date();
var year = date.getYear();
var month = date.getMonth()+1;
var day = date.getDate();
var hour = date.getHours() < 10 ? "0" + date.getHours() : date.getHours();
var minu = date.getMinutes() < 10 ? "0" + date.getMinutes() : date.getMinutes();
var sec = date.getSeconds() < 10 ? "0" + date.getSeconds() : date.getSeconds();
document.getElementById("time").innerHTML = year+"年"+month+"月"+day+"日"+hour+"时"+minu+"分"+sec+"秒";
setTimeout("newtime();",1000);
}
newtime();
</script>