- var_dump: documentation ( source)
- date: documentation ( source)
- strtotime: documentation ( source)
<?php
$week = date("Y-m-d",strtotime("+1 week"));
$halfmonth = date("Y-m-d",strtotime("+2 weeks"));
var_dump($week < $halfmonth);
var_dump($halfmonth);
var_dump($week);
var_dump($week < $halfmonth);