Day ASP Date Function

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.

So, for example if you have a StartDate variable and want to extract just the day part, you would say

StartDay = Day(StartDate)

StartDay would then be equal to the value 3.

Make sure, of course, that StartDate is actually a date value :)

ASP Date Functions




RSS
Related Articles
Editor's Picks Articles
Top Ten Articles
Previous Features
Site Map





Content copyright © 2023 by Lisa Shea. All rights reserved.
This content was written by Lisa Shea. If you wish to use this content in any manner, you need written permission. Contact Lisa Shea for details.