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

Popular posts from this blog

How to check data type in C++? -

javascript - Is getTimezoneOffset() stable during daylight saving transition? -

formula - R: how to pass in a reference to the variable in glm or lm? -