How to get difference of two dates in php and add that difference to third date to obtain another new date?

后端 未结 0 489
孤城傲影
孤城傲影 2020-12-11 16:33

There are two variables,

$old_start = new DateTime("2020-12-13 14:20");
$old_end = new DateTime("2021-03-25 12:29");

Now

相关标签:
回答
  • 消灭零回复
提交回复
热议问题