How the date 04oct1994 is stored in SAS,not only give the
answer explain in brief?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
what are the three main credit bureau names
1 Answers Synchrony Financial,
What does the RUN statement do?
what is the use of sas management console? : Sas-di
how do i get last 10obs from a dataset when we don't know about the number of obsevations in that dataset?
How would you code the criteria to restrict the output to be produced?
How to convert a numeric variable to a character variable?
where are dashboard components are created and maintained? : Sas-bi
There is a field containing a date. It needs to be displayed in the format “ddmonyy” if it’s before 1975,”dd mon ccyy” if it’s after 1985, and as ‘disco years’ if its between 1975 and 1985. How would you accomplish this in data step code? Using only PROC FORMAT.
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?
what is the difference between proc means and proc tabulate?
How are the analysis data sets structured?
DATA ABC; INPUT TDATE DATE9. AVG; CARDS; 18APR2008 150.00 19APR2008 167.00 20APR2008 123.00 21APR2008 145.00 ; RUN HOW CAN I FIND THE DIFFERENCE BETWEEN AVG OF 18APR2008 ANF 21APR2008?? IF ANY ONE GETS IT PLS TRY TO POST IT.
8 Answers Verinon Technology Solutions,