![]() |
|
|
IsDate VBScript functionThe IsDate function will accept a date argument. If it's a valid date then the function will return True, if not it will return False. <%
Dim theDate theDate="04/21/2004" 'the date is American format response.write IsDate(theDate) %> Below is our code in action:
<%
Dim theDate theDate="25/2004" response.write IsDate(theDate) %> Below is our code in action: Other date and time related tutorials:
Site developed by Michael Wall - Web Design Belfast N.Ireland. |
|