比如某个影片的上映时间是22:50:00,电影时间总长度是01:40:00 ,这样怎么计算出最后 的结束时间呢
------解决方案--------------------
这样也行
echo date('H:i:s', strtotime('22:50:00') + strtotime('01:40:00') - strtotime('00:00:00'));00:30:00
吃别人嚼过的馍不香
要学会使用手中的工具
echo date('H:i:s', strtotime('22:50:00') + strtotime('01:40:00') - strtotime('00:00:00'));00:30:00