User Guide
159
Data Transform
ations
Add or Subtract a Duration from a Date
To add or subtract a duration from a date-format variable:
E Select Add or subtract a duration from a date on the screen of the Date and Time Wizard
labeled Do Calculations on Dates.
Select Date
/Time Variable and Duration to Add or Subtract
Figure 7-22
Add or subtract duration, step 2
E Selec
t a date (or time) variable.
E Selec
t a duration variable or enter a value for Duration Constant. Variables used for
durations cannot be date or date/time variables. They can be duration variables
or simple numeric variables.
E Select the unit that the duration represents from the drop-down list. Select Duration
if usi
ngavariableandthevariableisintheformofaduration,suchashh:mmor
hh:mm:ss.