day() vs dayofmonth() in mysql -
consider
select day("2016-05-22")
and
select dayofmonth("2016-05-22")
both gives same output.
day("2016-05-22") 22
and
dayofmonth("2016-05-22") 22
is there diffrence between these 2 methods?
according mysql reference manual day()
synonym dayofmonth()
Comments
Post a Comment