DiffDate Syntax DiffDate([yy]yymmdd, [yy]yymmdd); [yy]yymmdd A date string. Description Calculates the number of days between two dates. Returns A string indicating the number of days. Note: If the second date is later than the first date, the result is negative. Example $a="19980512";$b="980427";$c=diffdate($a,$b); Result: $c="15"
DiffDate([yy]yymmdd, [yy]yymmdd);
[yy]yymmdd
$a="19980512";$b="980427";$c=diffdate($a,$b);