Javascript debugger Website design ↑
DateTime object.
String in a relative format accepted by strtotime().
Returns NULL on success or FALSE on failure.
NULL
FALSE
<?php $date = new DateTime("2006-12-12"); $date->modify("+1 day"); echo $date->format("Y-m-d"); ?>
The above example will output:
2006-12-13
Javascript debugger Website design