Validating DateTime in ASP

admin

Administrator
Staff member
Is there a quick way to validate running times (15:22.35) using asp without breaking the string apart character-by-character? I was looking for isDateTime (like isNumeric) but I did not find it. I am working in ASP, NOT ASP.Net.

Thanks!alright, now Bobba......am I going to have to sick the guard dogs on you to get you to post in the ASP section?

:D :PTo answer your question.....I don't think so.

What I think the best bet would be to do is to add "01/01/2000 " to the front of your time string and send that through the isDate() function.

isDate() does validate the time part of a date time so that should work.Oops! Sorry putts. And I am impressed with the suggestion. Clever!
 
Back
Top