1

I have been going round the internet looking for the best way to convert my timestamp values from my dateadded column : 2017-04-05 15:24:15 and obtain month name APRIL as the output.

Which is the best query to do this.

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
Beroo
  • 29
  • 8

1 Answers1

1

In MySql, use monthname()

select 
    dateadded
  , monthname(dateadded) as MonthName 
from t
SqlZim
  • 37,248
  • 6
  • 41
  • 59