Creating new variables


Dark Knight
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.


New Member
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.