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