📜  如何使用 am pm 获取时间 php - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:50.238000             🧑  作者: Mango

代码示例2
// Use this to get time and date with am and pm without leading 0
$date = date("g:i A");

// output: 1:46 PM