How to convert DDMMYYYY to DD MONTH YYYY in Unix

Hi
I am having date as a string in DDMMYYYY format(07082008) in a variable say cdate. I want to Convert it into DD Month YYYY format(7 August 2008). Could someone help. Thanks in Advance.

Check some threads below in here:

There are some ideas in there. Maybe you just add something like to convert the month's number, when separated by awk/substr, with the 3 characters you need.

If you are using ksh93

$ cdate="07082008"
$ printf "%(%d %B %Y)T\n" $cdate
08 July 2008
$