Tutorials References Exercises Videos Menu
Create Website Get Certified Upgrade

VBScript Date Function

❮ Complete VBScript Reference

The Date function returns the current system date.

Syntax

Date

Example

Example

<%

response.write("The current system date is: ")
response.write(Date)

%>

The output of the code above will be:

The current system date is: 12/21/2022
Show Example »

❮ Complete VBScript Reference