Tutorials References Exercises Videos Menu
Free Website Get Certified Pro

VBScript Now Function


❮ Complete VBScript Reference

The Now function returns the current date and time according to the setting of your computer's system date and time.

Syntax

Now

Example

Example

<%

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

%>

The output of the code above will be:

The current system date and time is: 9/5/2022 8:27:09 AM
Show Example »

❮ Complete VBScript Reference