-2

I have stored date in MySQL in the format yyyy-mm-dd and I wish to display it on the form like

ddMMMMyyyy

How can I do that

2 Answers2

1

Use DATE_FORMAT()

select date_format(date_column, '%d %M %Y')
from your_table
juergen d
  • 201,996
  • 37
  • 293
  • 362
0

Try it.

CONVERT(VARCHAR(11),GETDATE(),106)