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
What would be the value of month at the end of data step execution and how many observations would be there?
What is the difference between input and infile statement?
Do we follow ADAM in analysis dataset development?How? Usually which version? Why is it necessary?
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 Proc glm does?
What is SAS?
what is data governance? : Sas-di
If you were told to create many records from one record, show how you would do this using array and with proc transpose?
Explain substr function?
what is data access? : Sas-di
explain the use of % includes a statement in sas? : Sas-administrator
What is the difference between %put and symbolgen? : sas-macro
What is the general format of function in sas? : sas-grid-administration
Can you execute macro within another macro? : sas-macro
Explain data_null_?