How to convert a given date value into SAS date

Answer Posted / komal

For example if we have a date="14/12/2008".

you have to input it first and the format it like
date1=input(date,ddmmyy10.);
format date1 ddmmyy10.;
run;

Is This Answer Correct ?    8 Yes 1 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

676


What are the difference between sas functions and procedures?

642


what are several options for creating reports in web report studio? : Sas-bi

632


What is the difference between class statement and by statement in proc means?

661


how would you create a data set with 1 observation and 30 variables from a data set with 30 observations and 1 variable? : Sas programming

844






what is hierarchy flattening? : Sas-di

622


Approximately what date is represented by the SAS date value of 730?

750


What do the put and input function do?

591


explain about sas business intelligence? : Sas-bi

598


what is SAS OPTIMIZATION?

1817


What does the RUN statement do?

854


What are symget and symput? : sas-macro

735


Explain bmdp procedure?

616


Explain the purpose of substr functions in sas programming.

567


what is a method for assigning first.var and last.var to the by groupvariable on unsorted data? : Sas programming

572