Latest web development tutorials

VBScript Now function

VBScript Reference Complete VBScript Reference

Now function returns the current date and time according to the date and time of the computer system settings.

grammar

Now

Examples

Examples (only for IE)

<script type="text/vbscript">

document.write("The current system date and time is: ")
document.write(Now)

</script>

Examples of the above output:

document.write("The current system date and time is: ") document.write(Now)

try it"


VBScript Reference Complete VBScript Reference