How does php judge the past and present years?
This article mainly shows you "how php judges the past few years from the present". The content is simple and clear. I hope it can help you solve your doubts. Let the editor lead you to study and learn this article "how php judges the past few years from the present".
As follows:
Function gettime ($worktime) {$time=time (); $amount=date ("Y", $time)-date ("Y", strtotime ($worktime)); if (date ("m", $time)