How to convert a given date value into SAS date

Answer Posted / ranjith

we can store date values using date format
(ex:date9.,ddmmyyyy10.)

Is This Answer Correct ?    32 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the data types does SAS contain?

655


What are types of transport files?

6871


what do the pad and dim functions do? : Sas programming

568


Do you need to know if there are any missing values?

597


what is the basic structure sas administrator? : Sas-administrator

565






What is the difference between %local and %global? : sas-macro

672


What is the SAS data set?

679


explain about various caches available in data integrator? : Sas-di

581


what is snowflake schema? : Sas-di

698


If a variable contains only numbers, can it be a character data type?

616


Give some ways by which you can define the variables to produce the summary report (using proc report)?

602


data data1; input dt account; format dt date9.; cards; 1745 1230 1756 1120 1788 1130 1767 1240 ; data data2; input startdt enddt total; format startdt date9. enddt date9.; cards; 1657 1834 12300 1557 1758 16800 1789 1789 12300 1788 1345 12383 1899 1899 13250 ; proc sql; create table data3 as select * from data1 as x left join data2 as y on x.dt>=y.startdt and x.dt<=y.enddt; quit; Here, we are getting cartision product. But,I want left join report consisting of this program. It should not get duplicate values. you can modify the program also.

1803


What does PROC print, and PROC contents do?

730


If money were no object, what would you like to do?

2691


what are sas bi dashboard components? : Sas-bi

665