The problem of worldly functions
王统帅
王统帅 2018-10-02 21:08:19
0
1
1436

<?php echo date("m-d-Y h:m:s")."\n"; echo date("m-d-Y h:m:s",mktime(10,15,35,date("m" ),date("d"),date("Y")))."\n"; echo date("m-d-Y h:m:s",mktime(10,15,35,date("m"), date("d")-30,date("Y")))."\n"; ?>How is the mktime function used in this code? What are the first three data 10, 15, and 35? What? Why does the result still remain unchanged when I change these data?

王统帅
王统帅

reply all(1)
城南花已开

m-d-Y h:m:s was changed to m-d-Y h:i:s, he wrote the minute code wrong

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template