How the date 04oct1994 is stored in SAS,not only give the
answer explain in brief?

Answers were Sorted based on User's Feedback



How the date 04oct1994 is stored in SAS,not only give the answer explain in brief?..

Answer / vineeta

The date will be stored as the number of days since January
1,1960. Internally SAS stores dates as no. of days hence it
becomes a numeric value on which computations can be done.
Use a date informat to read the date eg. DATE9. and u will
get the number of days in the output dataset.

Is This Answer Correct ?    23 Yes 0 No

How the date 04oct1994 is stored in SAS,not only give the answer explain in brief?..

Answer / sree

In sas the date will be stored as the number of days since
January
1,1960. SAS stores dates as number of days hence it
becomes a numeric value .
Use a date informat to read the date eg. DATE9. ,MMDDYY10.
etc..and u will
get the number of days in the output dataset in a format
you specify or date9.only

Is This Answer Correct ?    3 Yes 0 No

How the date 04oct1994 is stored in SAS,not only give the answer explain in brief?..

Answer / pnprasad

There are four informats are there in SAS to read the date
values, i.e MMDDYY8. (mm/dd/yy), MMDDYY10. (mm/dd/yyyy)
date7. (ddMMMyy) date9. (ddMMMyyyy), so Ans is date9. Note:
each format ends with period.

Is This Answer Correct ?    4 Yes 3 No

How the date 04oct1994 is stored in SAS,not only give the answer explain in brief?..

Answer / sas

guys please read the question carefully and then proceed
with writing answers.....invalid answers mislead to sas new
comers....

Is This Answer Correct ?    1 Yes 0 No

How the date 04oct1994 is stored in SAS,not only give the answer explain in brief?..

Answer / ravid

i do not know the exact answer ,but read the date in this
format date mmddyyyy10.then it will give the result

Is This Answer Correct ?    0 Yes 15 No

Post New Answer

More SAS Interview Questions

what other SAS features do you use for error trapping and data validation?

3 Answers   Quintiles,


What can be the size of largest dataset in SAS?

0 Answers  


what is the difference between sas and other datawarehousing languages?what are the advantages of sas over them?

2 Answers   Accenture, Infosys,


what is data access? : Sas-di

0 Answers  


what are validation tools that are used in sas? : Sas-administrator

0 Answers  






How many missing values are available? When might you use them?

1 Answers   Quintiles,


how can you put a "trace" in your program? : Sas programming

0 Answers  


Are you involved in writing the inferential analysis plan? Tables specfications?

0 Answers  


How to test the debugging in sas?

0 Answers  


how to remove the duplicates by proc sql?

2 Answers   Genpact,


how to create the AE dataset by using SDTMIG specifications and SAP plan by using UNIX platform?

0 Answers  


in the flow of data step processing, what is the first action in a typical data step? : Sas programming

0 Answers  


Categories