php
$date = date("Y-m-d H:i:s");
$year = date("Y", strtotime($date));
$month = date("m", strtotime($date));
$day = date("d", strtotime($date));
echo "Year: $year, Month: $month, Day: $day";
顶一下
(0)
0%
踩一下
(0)
0%
- 相关评论
- 我要评论
-