Now
The Now function returns the current date and time
according to the local computer settings. When writing ASP, this
time is taken from the machine that the script is running on which
is usually the web server serving the page.
Unlike the Date function which returns the current date, the
Now function returns and date and time as a single variable. You
can format this date using the FormatDateTime function or you can
extract portions of the date using the DatePart function.
As a shortcut for the DatePart function, ASP also provides the
handy functions: Year, Month, Day, Hour,
Minute and Seconds.
Response.Write "Today's date and time: " & FormatDateTime(Now(), vbLongDate)
|
 |

|