sas informat datetime

前端 未结 5 2149
我寻月下人不归
我寻月下人不归 2020-12-15 12:25

Can anyone advise on the appropriate SAS informat to read in a datetime (dd/mm/yyyy hh:mm) ???

eg

data _null_;
informat from_dt datetime????.;
input         


        
5条回答
  •  臣服心动
    2020-12-15 13:24

    This entry from the SAS knowledgebase includes code for parsing and formatting datetime. Looks like SAS has a great online help system.

    The third message in this exchange on Google groups may be helpful as well. It talks about inputting datetime, and provides code.

    Your question is so hard to decipher, and I know so little about SAS, that's about all I can offer. Hope it helps.

提交回复
热议问题