NewDate Syntax NewDate([yy]yymmdd, num_days); [yy]yymmdd A number specifying a date. num_days A number specifying a negative or positive number of days. Description Calculates a date from a given date and a negative or positive number of days. Returns A string specifying a date in yyyymmdd format. Example $a="980427";$b=newdate($a,15);$c=newdate($a,-10); Result: $b="19980512" $c="19980417"
NewDate([yy]yymmdd, num_days);
[yy]yymmdd
num_days
$a="980427";$b=newdate($a,15);$c=newdate($a,-10);
$b="19980512"
$c="19980417"