Tutorials References Exercises Videos Menu
Create Website Get Certified Upgrade

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: 12/21/2022 1:20:50 PM
Show Example »

❮ Complete VBScript Reference