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 |
What would you change about your job?
how can you import .csv file in to sas? : Sas programming
what is conditional processing?
how do you debug and test your sas programs? : Sas programming
what is a post baseline?
WHAT IS LAG FUNCTION ? WHERE CAN YOU IMPLEMENT THIS FUNCTION?
what is OLAP?
Mention the validation tools used in SAS?
What is the size of PDV?
how to generate report for 0 observation dataset?
How would you identify a macro variable?
What is the difference Using & and && in the macro variables