Date differences in Survo data sets
DATE <data>,<rules>
computes date differences in Survo data set <data>, according to the
given set of <rules>. The differences are days between two given dates.
The <rules> list must be defined in the following form:
DATE_RULES <rules>
<output_variable>=<date_variable>-<date_variable>
<output_variable>=<date_variable>-<date_variable>
...
END
The common format of <date_variable>s are given by IDATE specification.
If <output_variable> does not exist, a new variable will be created.
By default it is of type 2. Other types may be selected by using the
notation <output_variable>:<type> where <type> is 1,2,4,8 or S<len>,
and <len> is the length of a string variable.
The conversions can be limited to observations selected by IND, CASES
and SELECT specifications.
F = Date formats
D = More information on DATE operation