|
|
6#

楼主 |
发表于 2009-8-12 21:30:56
|
只看该作者
Re: sas 陣列求教
when you create initial dataset, you should use t1='12AUG2009:07:30'dt.
Then change t1, t2 format into datetime (e.g. format t1 t2 datetime.<!-- s;) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";)" title="Wink" /><!-- s;) --> .
The datetime format you described (e.g. 8/8/23:50) is not a SAS datetime format.
If you have to use your format, please use functions of day(), month(), and time()
to pick up the information you need and then make them as strings, finally combine
them to create a string looks like your format. |
|