hi i date is 05sep2005; i want the oupput like
05sep2005:00:00:00 ; how it wil come?
Answer Posted / shakeer
data dt;
informat d date9.;
d= '05sep2005'd;
dt=dhms(d,0,0,0);
format dt datetime21.;
proc print;run;
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain the use of proc gplot? : sas-grid-administration
what is ae onset date n what is RDS
what do you mean by data staging area? : Sas-di
How to import multiple xls files into sas. Out of those files, how to get different values from a single variable and how to find number of rows per value type? We can do this using group by for one xls file with proc sql. Was wondering how I can achieve this for multiple files at the same time. Any ideas?
how to debug and test the sas program? : Sas-administrator
What is the role of administrative users? : sas-grid-administration
Give some ways by which you can define the variables to produce the summary report (using proc report)?
name the scheduler for scheduling job and explain the scheduler? : Sas-di
What is a method for assigning first.VAR and last.VAR to the BY group variable on unsorted data?
Explain what is the use of proc gplot?
What is the difference between proportion and average?
what is change analysis in sas di ? : Sas-di
How sas treats the dsd delimiters?
What was the last computer book you purchased? Why?
How do you convert basic cube to transaction cube and transaction cube to basic cube?