php int转日期的方法:1、通过“$lasTtime=time();”添加一个time时间戳;2、使用“date("Y-m-d",$lastTime);”方法转换成日期格式即可。
2021-09-01评论:0访问次数:2701
php int转date的方法:首先添加一个time时间戳;然后通过“$time=date("Y-m-d",$lastTime);”方法进行转换即可。
2020-09-28评论:0访问次数:1811
php int转时间的方法:1、添加一个time时间戳;2、通过“date("Y-m-d",$lastTime);”方法将int类型的数转换成时间格式即可。
2021-10-20评论:0访问次数:2345