iam having the date format stored in database as \"20100723\"(YYYYMMDD) and how do i convert it into \"23-JUL-2010\"
if php >= 5.3.0
format('d-M-Y');