Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

String to Date Conversion

Status
Not open for further replies.

oanion

IS-IT--Management
Jun 18, 2004
55
SQL Server 2000
Crystal Entrprise
ASP Web Pages.


I’m trying to accomplish the following:

1.Accept 2 string dates from input from an ASP page

2.Convert the 2 string date parameters to a date type in Crystal

3.use the 2 converted dates to evaluate records between the 2 dates.

Currently, I’m having trouble converting the string date into a date datatype in Crystal. The string date parameters passed are in the following format MM/DD/YYY. I’ve attempted convert the string date to a date datatype in Crystal. Is there another date format I should tell the programmer to pass to Crystal from the ASP web page?
 
Hi,

Yuo can use Cdate(parameter_stringdate) in your selection formula.

Ted
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top