Voting

: nine minus eight?
(Example: nine)

The Note You're Voting On

Anonymous
4 years ago
Note that to add time you must enter P even though the period is empty.

To add 1 hour :

<?php

$plusOneHour
= (new DateTime('now'))->add(new DateInterval("PT1H"));

var_dump($plusOneHour);

?>

<< Back to user notes page

To Top