FUNCTION:  DateValue( )

Implemented in version 1.0
 
DateValue(Date)
 
The DateValue function converts an argument into the variant of subtype Date.
 
The Date argument must be a string in valid date format or you will get an error message.
 
Code:
<% mystring = "06/26/1943" %>
<% =DateValue(mystring) %>

 
Output:
6/26/1943
 
Code:
<% =DateValue("1/1/2001") %>
 
Output:
1/1/2001


Copyright 1999-2004 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information