If DateTime $serverTime
is e.g. 2016-02-03 00:30:00
and i subtract 90 minutes like this
$serverTime->sub(new DateInterval("PT1H30M"));
the $serverTime
is now 2016-02-03 23:00:00
. Notice that the date remains February 3rd. While it's exepcted that it goes down by one - it should be 2016-02-02 23:00:00
. Is there another way to achieve this?