ฟังก์ชั่น VBScript ตอนนี้
ตอนนี้ฟังก์ชั่นส่งกลับวันและเวลาปัจจุบันตามวันที่และเวลาของการตั้งค่าระบบคอมพิวเตอร์
ไวยากรณ์
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 สมบูรณ์