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 are the scrubbing procedures in sas?
what techniques and/or procs do you use for tables? : Sas programming
what cause the "error: connect:" and "error in the libname statement" when there weren't any such problems?
What is the command used to find missing values?
If you could design your ideal job, what would it look like?
What will calendar procedure do?
What are the ways to do a “table lookup” in sas?
How will you react when, while consulting a SAS documentation manual to get an answer to a problem, someone says hey, I thought you were supposed to know all that stuff already, and not have to look it up in a book?
How would you code a macro statement to produce information on the sas log? This statement can be coded anywhere? : sas-macro
What is run-group processing?
Differentiate between format and informat? : sas-grid-administration
Explain what is data step?
How can sas program be validated?
Which command is used to perform sorting in sas program?
Explain what Proc glm does?