How to convert a given date value into SAS date
Answer Posted / sheetal
data temp;
date='17/12/2009';
m=substr(date,4,2);
d=substr(date,1,2);
y=substr(date,7,4);
d1=mdy(m,d,y);
format d1 mmddyy10.;
run;
| Is This Answer Correct ? | 5 Yes | 5 No |
Post New Answer View All Answers
What are the features of base sas system?
What is a method for assigning first.VAR and last.VAR to the BY group variable on unsorted data?
Will it bother you if the guy at the next desk times the frequency and duration of your bathroom or coffee breaks on the grounds that ?you are getting paid twice as much as he is??
What are the difficulties u faced while doing vital signs table or dataset?
What is the command used to find missing values?
Hi all, If Anybody has Advance SAS Certification dumps??? Please share with me. Email: pramod.kalugade03@gmail.com
What is the difference between input and infile statement?
What is interleaving in SAS?
Explain data_null_?
What is the difference between where and if statement?
What function CATX syntax does?
Mention some common errors that are usually committed in sas programming.
what is ae onset date n what is RDS
how to create the AE dataset by using SDTMIG specifications and SAP plan by using UNIX platform?
Can you explain the process of calendar?