Features
Ask DevGuru
ASP Resources
Find the Bug
Knowledge Base
Links
Tips of the Week
Tutorials
Products
dgCalendar
dgCharge New!
dgChart New!
dgFileUpload
dgReport New!
dgSort
dgTree
Site
Authoring
Coming Soon
DevGuru Resume
Link to Us
Merchandise
Sponsorships
Testimonials
What's New
Technologies
ADO 2.6
ASP
CSS2
HTML
JavaScript
Jet SQL
Transact-SQL Syntax
VBScript
WML
WMLScript
WSH
XML DOM
All Functions
CDate Function
Date Function
DateAdd Function
DateDiff Function
DatePart Function
DateSerial Function
DateValue Function
Now Function
Time Function
Day Function
Month Function
Now Function
TimeSerial Function
TimeValue Function
Weekday Function
Year Function
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-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information