I'm new to Crystal Reports, I'm trying to extract and display month and year from the string (In DB the data type of the column is varchar). Following is an example of the data.
05-JAN-12 11.49.28.000000000 AM
I need it in following format
Jan-12
I have used cDate to convert the string to date format but was unsuccessful, maybe I didn't do it right way.
This may work
Then format the field to display the date as your choosing.
Alter the formula to extract the date portion, then convert it to a
date
:Apply formatting to the field as desired.