$tmp['y'] = ($PDF->PageHeight*70.5)/100;
$tmp['x'] = ($PDF->PageWidth*49.5)/100;
$PDF->ShowTextAt($tmp['x'], $tmp['y'], date('m/d/Y'));
How would i add 7days to this current date code?
$tmp['y'] = ($PDF->PageHeight*70.5)/100;
$tmp['x'] = ($PDF->PageWidth*49.5)/100;
$PDF->ShowTextAt($tmp['x'], $tmp['y'], date('m/d/Y'));
How would i add 7days to this current date code?
Simple example:
$dt = new DateTime('+7 days');
echo $dt->format('Y-m-d');