Script functions reference > Script functions in alphabetical order > D > DiffDate

DiffDate
Syntax
DiffDate([yy]yymmdd, [yy]yymmdd);
[yy]yymmdd
Description
Calculates the number of days between two dates.
Returns
A string indicating the number of days.
Note:
Example
$a="19980512";
$b="980427";
$c=diffdate($a,$b);
Result: $c="15"
OpenText StreamServe 5.6 Updated: 2013-03-01