阅读背景:

如何获得一个月的第一天和最后一天

来源:互联网 

I wish to rewrite a mysql query which use month() and year() functions to display all the posts from a certain month which goes to my function as a 'Y-m-d' parameter format, but I don't know how can I get the last day of the given month date.I wish to rewrite a mysql query which use month




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: