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 would you change about your job?

0 Answers   Oracle,


how can you import .csv file in to sas? : Sas programming

0 Answers  


what is conditional processing?

4 Answers   Accenture,


how do you debug and test your sas programs? : Sas programming

0 Answers  


what is a post baseline?

2 Answers   Accenture,






WHAT IS LAG FUNCTION ? WHERE CAN YOU IMPLEMENT THIS FUNCTION?

3 Answers   IBM, Zensar,


what is OLAP?

4 Answers   CitiGroup, TCS,


Mention the validation tools used in SAS?

0 Answers  


What is the size of PDV?

2 Answers   L&T,


how to generate report for 0 observation dataset?

3 Answers   Mind Tree, Student,


How would you identify a macro variable?

0 Answers  


What is the difference Using & and && in the macro variables

5 Answers   Accenture,


Categories