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