w***y 发帖数: 114 | 1 I want to convert character sas date into numeric date
my date is dirty some miss day, some miss month, date look like:
2009-06-02
2009-06
2009
for 2009-06-02 is easy, how to convert another two? Thanks | d****i 发帖数: 121 | 2 先用scan把year month date分别弄出来,然后再mdy?
【在 w***y 的大作中提到】 : I want to convert character sas date into numeric date : my date is dirty some miss day, some miss month, date look like: : 2009-06-02 : 2009-06 : 2009 : for 2009-06-02 is easy, how to convert another two? Thanks
| s**********e 发帖数: 63 | 3 either SCAN or "COMPRESS" then "MDY", I agree! |
|