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


 


IsDate Variable Testing Function



The IsDate function is CRITICAL for anybody who works with dates. This helps ensure that the dates are fully valid before being operated on or put into databases.

Many database calls will completely croak if you feed them an invalid date. So be sure to check before you try to insert that row!

If StartDate is your date variable, then your syntax would be:

ValidDate = IsDate(StartDate)

if ValidDate = FALSE then
response.write "Sorry, try again!"
end if

ASP Variable Testing 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 |
All content copyright © 2012 Minerva WebWorks LLC. All rights reserved.

Exploring Believability


Free Newsletter!

Ebooks
Intro to ASP
ASP SQL DB
Members
Shopping


Introduction to ASP

Thought Provoking
Video Games and Child Soldiers

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