Latest web development tutorials

ฟังก์ชั่น VBScript ตอนนี้

VBScript อ้างอิง อ้างอิง 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)

ลอง»


VBScript อ้างอิง อ้างอิง VBScript สมบูรณ์