I have the following code
$time = "12:00";
$duration = 90 . " minutes";
$arrival = strtotime("+" . $duration, $time);
Output should be 13:30
.
I get the following error: "A non well formed numeric value encountered in" (line with $arrival
)
What can I do?