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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing strings to dates 1

Status
Not open for further replies.

paula

Technical User
Feb 23, 2001
18
GB
I'm working with a report based on a SQL view set up by one of our 'experts'. For reasons only known to himself, one of the fields (MOD_DATE) has been created as a string (DD/MM/YY). The appearance on the report is suitable for my needs (date is in English format), but obviously can't be sorted etc. as it's a string.

Does anyone have any ideas on how to change this to a true date, please?

 
In the FAQ area is a FAQ I wrote on common formulas. It includes one for string dates to Dates. You might have to modify it a bit because it assumes mm/dd/yyyy. Ken Hamady
Crystal Reports Training/Consulting and a
Quick Reference Guide to VB/Crystal (including ADO)
 
Many thanks - I'd looked at the similar formula on the Crystal Knowledge base, but hadn't been able to turn it around to my needs successfully.

Yours was far clearer.

Thanks again,

Paula
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top