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