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
: and & modifiers.
explain the concepts and capabilities of business object? : Sas-bi
how does sas handle missing values in a merge? : Sas programming
What are the new features included in the new version of SAS Programming Language?
In SAS explain which statement does not perform automatic conversions in comparisons?
What are the difference between the sas data step and sas procs?
what is study design in while working with SAS? what are screening variables in SAS?
How to limit decimal places for the variable using proc means?
Explain the use of proc print and proc contents?
How would you include common or reuse to be processed along with your statements?
What is SAS? What are the functions does it performs?
what is operational data and operational system? : Sas-di
How are numeric and character missing values represented internally?
How long can a macro variable be? A token? : sas-macro
how does sas handle missing values in assignment statements? : Sas programming