最好的方法是最有可能使用strtotime将其转换为时间戳,然后将它们加在一起:
$o = strtotime($time1)+strtotime($time2);
如果我还记得的话,
strtotime确实支持这种格式。
否则,您将需要自己过滤掉它。

最好的方法是最有可能使用strtotime将其转换为时间戳,然后将它们加在一起:
$o = strtotime($time1)+strtotime($time2);
如果我还记得的话,
strtotime确实支持这种格式。
否则,您将需要自己过滤掉它。