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!

Date

Status
Not open for further replies.

korata

Technical User
Aug 24, 2004
38
US
I have a field name called letting in my oracle 9i data base.I would like to convert the value of this field to Month/Date/Year and eliminate the last to digit.I am using CR 8.5
E.G 04082701 I would like this field to appear like this 08/27/04 in my CR report .
thank you
 
Hi,
Is it a Date type field in the data base?
What is the 01 ?

You can format dates with the CR totext function - see the help file for format options.


[profile]
 
It is a string field in the database and i do not claim to understand well what 01 is but i am very certain that the six digits " 040827" are refering to the year, month and date.
thank you
 
You can try this:
Code:
cdate(mid({table.letting},3,2) & "/" & mid({table.letting},5,2) & "/" & left({table.letting},2))

~Brian
 
Thank you for the help.It worked fine for me.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top