VBScript Time Function

The Time function returns the current system time."

Example

Example

<%

response.write("The current system time is: ")
response.write(Time)

%>

The output of the code above will be:

The current system time is: 2:13:46 AM

❮ Complete VBScript Reference