In which format does Date stores in sas..?
What is the use of DATE in SAS.?

Answers were Sorted based on User's Feedback



In which format does Date stores in sas..? What is the use of DATE in SAS.?..

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 which format does Date stores in sas..? What is the use of DATE in SAS.?..

Answer / jyothi swaroop

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

In which format does Date stores in sas..? What is the use of DATE in SAS.?..

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

Post New Answer

More SAS Interview Questions

Name the option to produce a frequency line items rather that a table.

2 Answers  


how to delete the duplicate columns permanently in SQL

2 Answers   Satyam,


wat has been most common programming mistake?

3 Answers  


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

3 Answers  


What is the use of function Proc summary?

0 Answers  






it will become easy if uuu provide website linkssss and list of consultanciessssss

0 Answers  


how do u validate the program which u have written.

1 Answers   TCS,


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

2 Answers  


What is your favorite all time computer book? Why?

0 Answers   Oracle,


How to get any kind of data in SAS? Is it possible to take data from notepad in SAS?

7 Answers   GSK, TNS,


What are the default statistics for means procedure?

0 Answers  


hi i date is 05sep2005; i want the oupput like 05sep2005:00:00:00 ; how it wil come?

6 Answers   Accenture,


Categories