ASP Is Fun

Learning ASP
Free Course
Basics
Functions
SQL Commands
Sample Code


Servers / Setup
Host Reviews
Server Setup
Error Tips


Contract ASP
Development

Search For:


Intro to ASP


 
ASP Intro Ebook


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 and Time Functions



Bookmark this site so you can reference it any time you have ASP questions in the future!




ASP Main Page | ASP Ebooks | Free ASP Course | Contact Lisa
All content copyright © 2012 Minerva WebWorks LLC. All rights reserved.

Irish Wedding


Free Newsletter!

Ebooks
Intro to ASP
ASP SQL DB
Members
Shopping


Introduction to ASP

Romance Tips
Irish Romance
Italian Romance
French Romance

ASP Poll
How do you handle 500 errors?
I don't
Page does nothing
Displays error
Emails error