|
|
|
|
|
| | |
|
Active Server Pages help tutorial how to ASP Help ASP Tutorials ASP Programming ASP Code - ASP Free CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
Subject: |
Re: isdate validation |
From: |
Andy Hudson |
Date: |
7/28/1999 9:24:38 AM |
IP: |
195.75.83.34 |
There are quite a few date functions in vbscript, and you can also conduct mathmatical functions with dates. You need to use the IsDate() function to check if it is a date. Then compare your date with the current date using the Date() function is see if your date is in the future.
Once the validation has been conducted you can response.redirect back to the original page passing back an variable which triggers the apprpriate error message. |
Previous Message
|
|
|
|
|
|
|
|
|
|
|
|