VBScript Now Function

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

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/23/2022 2:13:36 AM

❮ Complete VBScript Reference