Tutorials References Menu

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: 6/26/2021 2:16:09 PM
Show Example »

❮ Complete VBScript Reference