In which format does Date stores in sas..?
What is the use of DATE in SAS.?
Answers were Sorted based on User's Feedback
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 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 |
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 |
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?
How would you create multiple observations from a single observation?
what is proc Index? and what is proc document?
what are _numeric_ and _character_ and what do they do? : Sas programming
what is intially documentation for a sas programmer?
Which is the best training institute for SAS in Delhi. Please reply
what do you mean by data staging area? : Sas-di
what is sas metadata repository? : Sas-bi
describe about physical data integration? : Sas-di
What are the main differences between sas versions 8.2, 9.0, 9.1?
What is the difference Using & and && in the macro variables
What are the statements in proc sql?