ASP/VBScript Now() Returns the current date and time according to the setting of your computer’s system date and time.
ShotDev Focus:
- Using Asp and Now() function.
Syntax
Now()
The following example uses the Now function to return the current date and time:
Example
asp_now.asp
<% Option Explicit %> <html> <head> <title>ShotDev.Com Tutorial</title> </head> <body> <% Response.write Now() %> </body> </html>
Create a asp file and save to path root-path/myasp/
Run
http://localhost/myasp/asp_now.asp
Screenshot