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 is the use of the %include statement?
Explain the purpose of substr functions in sas programming.
explain the difference between alternate key, business key, foreign key, generated key, primary key, retained key and surrogate key ? : Sas-di
What do the put and input function do?
What’s the difference between var b1 – b3 and var b1 — b3?
List out some key concept of SAS
how does sas handle missing values in a merge? : Sas programming
Explain input and put function?
How to create list output for cross-tabulations in proc freq?
What do the sas log messages “numeric values have been converted to character” mean? What are the implications?
Differentiate between sas functions and sas procedures.
Can you execute macro within another macro? : sas-macro
how many display types available in sas bi dashboard? : Sas-bi
what are the scrubbing procedures in sas? : Sas programming
What is connection profile? : sas-grid-administration