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

Can you continue to write code while the rest of the people on the floor where you work have a noisy party to which you were not invited?

2 Answers   Oracle,


How would you create multiple observations from a single observation?

1 Answers   Quintiles,


what is proc Index? and what is proc document?

0 Answers   Mind Tree,


what are _numeric_ and _character_ and what do they do? : Sas programming

0 Answers  


what is intially documentation for a sas programmer?

2 Answers   Accenture,






Which is the best training institute for SAS in Delhi. Please reply

12 Answers   HCL, HSBC,


what do you mean by data staging area? : Sas-di

0 Answers  


what is sas metadata repository? : Sas-bi

0 Answers  


describe about physical data integration? : Sas-di

0 Answers  


What are the main differences between sas versions 8.2, 9.0, 9.1?

4 Answers  


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

5 Answers   Accenture,


What are the statements in proc sql?

0 Answers  


Categories