It's been a while since I've used JavaScript since I write most of my stuff now in ASP with VBScript. However, I need to do something in JavaScript and I need a little help.
VBScript has a function called 'IsDate' which will return a boolean value indicating whether an expression can be converted to a valid date. This is great for validating form input before entering the information into a database, avoiding type mismatch errors.
Does JavaScript have an equivalent function? I haven't been able to find one in a quick search through any of my books. I figured it'd be easiest to just ask the experts. If there is a similar function can you tell me it's name or if there isn't does anyone have a simple date validation script?
Thanks in advance for your help.
VBScript has a function called 'IsDate' which will return a boolean value indicating whether an expression can be converted to a valid date. This is great for validating form input before entering the information into a database, avoiding type mismatch errors.
Does JavaScript have an equivalent function? I haven't been able to find one in a quick search through any of my books. I figured it'd be easiest to just ask the experts. If there is a similar function can you tell me it's name or if there isn't does anyone have a simple date validation script?
Thanks in advance for your help.