$date = date('Y-m-d'); $date = date('Y-m-d', strtotime('+1 month', strtotime($date)))
day
$day = 21; $d=strtotime("+1 Months"); if($day < 15) echo date("1/m/Y", $d); else echo date("15/m/Y", $d);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)