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

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

reactjs - React router and this.props.children - how to pass state to this.props.children -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -