hi i date is 05sep2005; i want the oupput like

05sep2005:00:00:00 ; how it wil come?

Answer Posted / kenny rock

data test_date;
input date;
informat date datetime18;
cards;
05sep2005:00:00:00
run;
proc print data=test_date;
format date datetime18.;
run;

Is This Answer Correct ?    14 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain data step in SAS

806


how many types prompting framework can be broken down to? : Sas-bi

803


what are all the reports you generated in your recent project?

1897


what is PhaseIII, ODS, TLG, Macro and Proc in SAS

4076


hi here is a problem can anybody solve this? i want to report the data through third party file. by using data _null_ or proc report or macro automation process. but i want to insert the 'titles and footnotes' in between the data and also starting of 2nd and ending of 2nd and starting of 3rd and ending of the 3rd page. tell me how and write the code?

1847






What are common programming errors committed in sas

844


If you were told to create many records from one record, show how you would do this using array and with proc transpose?

1095


What is slibref?

919


Compare sas with other data analytics tools.

759


what are the new features included in the new version of sas i.e., Sas 9.1.3? : Sas programming

743


how do you want missing values handled? : Sas programming

675


I have a dataset concat having a variable a b & c. How to rename a b to e & f?

971


How can you limit the variables written to output dataset in data step?

986


How to test the debugging in sas?

793


which date functions advances a date time or date/time value by a given interval? : Sas programming

704