我想格式mysql格式化“08:54”,使用date_format("08:45",'%H:%i') ,但是返回null。 解决办法: 关于时分秒要使用time_format("08:45",'%H:%i') 。