Julian date format up to 7 digits, in represent number of days.
Date value Informat
2003032 julian7.
Data clinicals;
Infile cards;
Input dcode $ date;
Informat date julian7.;
cards;
Anti-s 19475240
Anti-s 19834234
Anti-s 19834534
;
proc print data=clinicals;
Format date ddmmyy10.;
Run;
Format reporting
worddate18. Month date, year
weekdate24. (weekdate 30.) Weekdate, month date, year
Year. Year(numeric)
Month. Month(numeric) (1-12)
Day. Day (numeric)
Weekday. Weekday (numeric) 1-7.
Proc print data= clinicals;
format date Worddate18.;
Run;
SAS time value: Number of seconds difference between input time to system specification time.
SAS specification time (00:00:00).
Date value Informat
2003032 julian7.
Data clinicals;
Infile cards;
Input dcode $ date;
Informat date julian7.;
cards;
Anti-s 19475240
Anti-s 19834234
Anti-s 19834534
;
proc print data=clinicals;
Format date ddmmyy10.;
Run;
Format reporting
worddate18. Month date, year
weekdate24. (weekdate 30.) Weekdate, month date, year
Year. Year(numeric)
Month. Month(numeric) (1-12)
Day. Day (numeric)
Weekday. Weekday (numeric) 1-7.
Proc print data= clinicals;
format date Worddate18.;
Run;
SAS time value: Number of seconds difference between input time to system specification time.
SAS specification time (00:00:00).
No comments:
Post a Comment