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 |
Name the option to produce a frequency line items rather that a table.
how to delete the duplicate columns permanently in SQL
wat has been most common programming mistake?
data voter; input Age Party : $1. (Ques1-Ques4)($1. + 1); datalines; 23 D 1 1 2 2 45 R 5 5 4 1 67 D 2 4 3 3 39 R 4 4 4 4 19 D 2 1 2 1 75 D 3 3 2 3 57 R 4 3 4 4 ; Idont understand what the (Ques1-Ques4)($1. + 1) means. I have seen (Ques1-Ques4)(4*$1.), but what is (Ques1-Ques4)($1. + 1)? Appreciate all help Thanks
What is the use of function Proc summary?
it will become easy if uuu provide website linkssss and list of consultanciessssss
how do u validate the program which u have written.
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
What is your favorite all time computer book? Why?
How to get any kind of data in SAS? Is it possible to take data from notepad in SAS?
What are the default statistics for means procedure?
hi i date is 05sep2005; i want the oupput like 05sep2005:00:00:00 ; how it wil come?