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 |
how would you create a data set with 1 observation and 30 variables from a data set with 30 observations and 1 variable? : Sas programming
What does the trace option do?
how can u join the two tables without using proc sql Joins and nested queries ?
Explain the difference between nodup and nodupkey options?
if the Id has more then two transcatiion then show the first observation, IF Id has only two observation then It show both the observation
Hi , which book should i refer to for preaparing SAS statistical Exam. Searched a lot on books but still did n't find relevant books
how does sas handle missing values in assignment statements? : Sas programming
what are some problems you might encounter in processing missing values? In data steps? Arithmetic? Comparisons? Functions? Classifying data? : Sas programming
What are the table names in oracle database...?
How would you code a macro statement to produce information on the sas log? This statement can be coded anywhere? : sas-macro
wat is sas? is a package or programming language?
what is operational data and operational system? : Sas-di