阅读背景:

检查两个PHP日期时间对象是否设置为相同的日期(忽略时间)

来源:互联网 

I just want to compare 2 datetime objects to see if they are set to the same date, but I don't care about the time component of the the object. At the moment I am using the date_format command to extract strings like 'Y-m-d' to compare but this seems awkward.I just want to compare 2 datetime objects to se




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

分享到: