Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

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

Answer Posted / muthyam reddy

data date1;
Date='05sep2005'd;
DateTime=dhms(Date,0,0,0);
put DateTime datetime21.;
format datetime datetime21. date date9.;
run;

second method;

data asd1;
date='05sep2005';
time='00.00.00';
datetime=date||':'||time;
run;

Is This Answer Correct ?    13 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you execute a macro within a macro? Describe. : sas-macro

1111


what is factor analysis? : Sas-administrator

1101


How to create list output for cross-tabulations in proc freq?

1114


What do the mod and int function do? : Sas programming

1230


What are the applications primarily used by business analyst? : Sas-bi

996


what is sas business intelligence? : Sas-bi

1183


Name and describe few sas character functions that are used for data cleaning in brief.

1123


how will you location sas platform applications available from web browser? : Sas-bi

1076


What is a method for assigning first.VAR and last.VAR to the BY group variable on unsorted data?

2585


What are the difference between sas functions and procedures?

1155


I need level 2 to 5 sas using companies in india

2382


Explain proc univariate?

1033


What does the RUN statement do?

1306


What are the statements that are executed only?

1150


What is the role of sas grid administrator? : sas-grid-administration

1291