VBScript Now 函數
Now 函數根據計算機系統的日期和時間設置返回當前的日期和時間。
語法
Now
實例
實例(僅適用於IE)
<script type="text/vbscript">
document.write("The current system date and time is: ")
document.write(Now)
</script>
document.write("The current system date and time is: ")
document.write(Now)
</script>
以上實例輸出結果:
document.write("The current system date and time is: ")
document.write(Now)
嘗試一下»
完整的VBScript參考手冊