China Naming Network - Solar terms knowledge - Q: The source code of the time expiration prompt in the php web page.
Q: The source code of the time expiration prompt in the php web page.
$ d = ceil((strtotime(‘2020-2- 19‘)-time())/3600/24);
if($ d & gt; 0){
Go along with "yes". There are $d days left before the end;
} Otherwise {
Echo "failed";
}