Code.GeekInterview.com
  I am new, Sign me up!
 
Home Tech Tutorials ASP.NET

ASP - Convert String to Date

Author: aspdev.org      Published: 25th Sep 2005     Visited: 27610 times 
Category: ASP NET
Add Comment
 
ASP makes converting string to date very easy. We re going to use the CDate ASP/VBScript function in our ASP code to convert a string to a date value. ASP CDate function has the following syntax: CDate (Date) ASP CDate function has 1 string argument, which is the string to be converted to date. The CDate function converts any valid date/time string expression to Date variant subtype. Consider the following use of ASP CDate function, to convert sDate string to date: <% sDate = "January...n

Read Article
 

Sponsored Links

 


Related Articles

 Tech Tip: String Length and Equality This Tech Tip describes common problems and suggests solutions for determining both length and equality of String obj ...

 Personal Tech: Inflight Power's $35 Recharger Cables Plug Into The Passenger Seat Headset Jack And C... Sharp s BroadbandFax uses a broadband connection to send and receive faxes directly to e mail without paying for an electronic fax service; GM and Mazda will offer built in auxiliary audio input jacks for the iPod on all 2007 models ...

 String Handling in Java The String class is defined in the java lang package and hence is implicitly available to all the programs in Java The String class is declared as final which means that it cannot be subclassed It extends the Object class and implements the Serializable Comparable and CharSequence interfaces Java i ...

 Stay Up-to-Date with Update 1 Java Studio Creator Update 1 changes the bundled application server from Sun Java Application Server 8 1 to 8 2 upgrades the bundled database from PointBase to the open source Java Database 2 Derby and includes all previous hot f ...

 Insert the Current Date/Time in a SQL Server, Excel Spreadsheet, or MSAccess The following keyboard shortcuts are quick ways to insert the current date and time in an Excel spreadsheet Access table or SQL Server t ...

 Convert Numbers to Excel Column Names This algorithm converts column numbers 1 x to Excel column n ...

 Convert Descriptive Flex Fields to Numbers Often data in Oracle applications is stored in extended columns known as Descriptive Flex Field DFF col ...

 Determine How Many Times a String Is Found Inside Another String This tip shares a fucntion that can help you determine how many times a string is found inside another st ...

 SQL basics: String data types Data type implementations vary from database to database but a working knowledge of the SQL specification will always give you a good idea of what s going on This article breaks down the basic rules of deploying string data t ...

 House panel sets late 2008 DTV transition date The House Energy and Commerce Committee has approved a bill that sets Dec 31 2008 as the date by which broadcasters must switch to DTV broadc ...



Next: Professional Active Server Pages 3.0



Post Comment


Members Please Login

Name:
Email: (Optional)
 (Used for Notification)
Title:
Comment:
Validation Code:
 <=>  (Enter this code in text box)


Subscribe

 


About Us -  Privacy Policy -  Terms and Conditions -  Contact  

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape