📅  最后修改于: 2022-03-11 14:53:40.150000             🧑  作者: Mango
// Use strtotime() -
echo date('g:ia', strtotime($timestamp));
// The date() function
// - string date ( string $format [, int $timestamp = time() ] )
// - where $timestamp is to be an integer Unix timestamp.