monthname and dayname return a varchar. The others return an integer.
These functions decompose a datetime to its components. These can be used on timestamps, datetimes, dates and times, all being the same internal data type.
: dayname name of day : monthname name of month : dayofmonth day of month : dayofweek day of week : dayofyear day since start of year : quarter quarter number, : week week number : month month number, starting at 1 for January : year year : hour hour : minute minute : second second : timezone offset from UTC in minutes