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 is the difference between SAS Data step and SAS PROC SQL, and which is better?
Hot to suppress characters from a given string?
Explain the special input delimiters used in sas programming.
If you have a data set that contains 100 variables, but you need only five of those, what is the code to force SAS to use only those variable?
which date functions advances a date time or date/time value by a given interval? : Sas programming
What are the special input delimiters used in SAS?
What is difference between Global n Local Macro Variables..?
Tell different ways to create Macrovarible?
3 Answers Accenture, PharmaNet i3,
how to read the variables in sas? : Sas-administrator
How to get part of string form the source string without using sub string function in SAS?
What are the uses of sas?
how to get second highest salary from a employee table and how get a 5th highest salary from a employee table?