In which format does Date stores in sas..?
What is the use of DATE in SAS.?

Answers were Sorted based on User's Feedback



In which format does Date stores in sas..? What is the use of DATE in SAS.?..

Answer / satyanand

SAS represents a date internally as the number of days
between January 1, 1960 and the specified date. Dates
before 1960 are represented with negative numbers. A
SAS date value is a numeric variable

Is This Answer Correct ?    22 Yes 1 No

In which format does Date stores in sas..? What is the use of DATE in SAS.?..

Answer / jyothi swaroop

In SAS the date has been stored as machine level language,
and the reference date for SAS is Jan 1, 1960.
To find out the exp of employees we have to use DOJ, then we
will use date.

Is This Answer Correct ?    1 Yes 0 No

In which format does Date stores in sas..? What is the use of DATE in SAS.?..

Answer / mannna

it is stored as numeric values.
Eg
data aaa;
a=today();
put a;
run;
it will show you numeric no equivalent to current date.After using format staement u can get todays date as;
data aaa;
a=today();
format a date9.;
put a;
run;

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SAS Interview Questions

What are the different servers in sas? : sas-grid-administration

1 Answers  


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

1 Answers  


what is factor analysis? : Sas-administrator

1 Answers  


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

1 Answers  


what is the difference between the SAS v8 and SAS v9?

7 Answers   TCS,


Hi... this is chandu, did MSc Microbiology, trying to get job in SAS tool, PLZ Tell me whether IT industries will give consider my education to gain a job....?

2 Answers  


In the following DATA step, what is needed for ‘fraction’ to print to the log? data _null_; x=1/3; if x=.3333 then put ‘fraction’; run;

1 Answers  


What is the maximum and minimum length of macro variable

1 Answers  


if you have 365 no of data set and each one having different variable from each other. how will you read by creating macros and create a single data set.

2 Answers  


Give e an example of..

1 Answers  


what is the diff b/w verification validation in sas

3 Answers   SAS,


Do you need to rearrange the order of the data for the report?

1 Answers  


Categories