📜  碳日期格式 - PHP 代码示例

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

代码示例6
$date = \Carbon\Carbon::createFromFormat('Y-m-d H:i:s',$calc[0]['created_at']);
$date->setTimezone('Asia/Karachi');
$date->format('d M, Y H:i A')