The ASP function called Now is very simple - it returns back to you the current system date and time.
You simply call the Now() function and voila, you know the date and time that your system clock has for you.
You can do:
CurrDateTime = Now()
Note that if you don't care about the time part, the Date() function returns just the date.
Date and Time Functions
|Introduction to ASP Ebook|
Download this ebook to get everything you need to know about learning ASP - from a step by step tutorial to function lists, sample code, common errors and solutions, and much more! 101 pages.