php格式化时间成时间戳方法
$date = "2023-04-01 12:00:00";
$timestamp = strtotime($date);
echo $timestamp; // 输出时间戳
最近访问时间:2025-10-17 16:20:12
$date = "2023-04-01 12:00:00";
$timestamp = strtotime($date);
echo $timestamp; // 输出时间戳