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 gkittelson 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.

mytips

Programmer
Sep 12, 2000
3
US
Hi,
I have Date type fields in Oracle that changes to String type in Crystal automatically. I want Crystal to display these as Date Type(mm/dd/yyyy) format. The String type looks likes this in Crystal - 2001-09-14 13:56:25.00
Can someone please, help me find a way to display this in date type as mentioned above!!
 
Create a formula on the field:

mid({table.field}, 6, 2) + "/" + mid({table.field}, 9, 2) + "/" + left({table.field}, 4)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top