<?php
$data1 = mktime(0,0,0,1,1,1950);
$data2 = mktime(0,0,0,1,1,2000);
$rand_time = rand($data1,$data2);
echo date("Y-m-d H:i:s",$rand_time);
?>
如果文章或资源对您有帮助,欢迎打赏作者。一路走来,感谢有您!
<?php
$data1 = mktime(0,0,0,1,1,1950);
$data2 = mktime(0,0,0,1,1,2000);
$rand_time = rand($data1,$data2);
echo date("Y-m-d H:i:s",$rand_time);
?>
如果文章或资源对您有帮助,欢迎打赏作者。一路走来,感谢有您!
php获取指定范围内的日期
txttool.com 说一段 esp56物联 查询128 IP查询