Functions - Date
ASP Date and Time Function List
One of the main things ASP is used for is handling date and time functions. Here are a list of function calls that help you show the current date and perform other date and time calculations.
DateAdd Date Function
The DateAdd functon lets you add a certain amount of time to any date. You can determine what will be a week from now, what was 3 days ago, or any other difference.
DateDiff Date Function
With DateDiff, you can determine the difference between two dates. This lets you see how long it´s been since someone last logged in and much more.
Day ASP Date Function
The Day function in ASP lets you find out what day in the current month it is. If the current date is January 3, then the Day function will return 3.
MonthName Date Function
If you´ve got a date and want to display the real world name of that month to display, the monthname function is what you want.
Now ASP Date Function
The ASP function called Now is very simple - it returns back to you the current system date and time.
Top Ten Articles
Previous Features
Site Map
Content copyright © 2018 by . All rights reserved.
This content was written by . If you wish to use this content in any manner, you need written permission. Contact Lisa Shea for details.