My date is save in mysql database in default format "2007-12-20" i am using Select monthname(2007-12-20) and it will return "DECEMBER" but i want to the result as "DEC" only first three letters. Is it possible ........
If you just want first 3 letter you can use substr(); PHP: function. Or use can use strtr PHP: to convert long monthnames to short values