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