Creating new variables

vinux

Dark Knight
#2
It is a simple question or I didn't get your question.
If you wanted to create difference of two columns, use data step. and create new variable as the difference of two coulmns.
 

Mahi

New Member
#3
In case you want to find the difference between two date variables(time data) then you should use INTCK() function.

Also check for INTNX() to calculate the difference of a date variable for fixed number of intervals.

Mahi..