h********o 发帖数: 103 | 1 How does it not work for you???
data one;
input date : date9.;
format date date9.;
cards;
01FEB2009
02FEB2009
03FEB2009
04FEB2009
05FEB2009
;
data two;
set one;
if date > "02FEB2009"d then date = "01JAN2010"d;
run;
proc print data = two;
run;
The SAS System
Obs date
1 01FEB2009
2 02FEB2009
3 01JAN2010
... 阅读全帖 |
|