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 versions of sas have you used (on which platforms)? : Sas programming
What do you feel about hardcoding?
If you were told to create many records from one record, show how you would do this using array and with proc transpose?
If you’re not wanting any SAS output from a data step, how would you code the data statement to prevent SAS from producing a set?
What are the default statistics for means procedure?
What do you feel about hardcoding?
why is a stop statement needed for the point=option on a set statement? : Sas programming
"What is the difference between proc sort nodup and proc sort nodupkey?"
how does sas handle missing values in assignment statements? : Sas programming
what is function of retain statment
To what type of programms have you used scratch macros?
How do you add a number to a macro variable?