. Which date advances a date, time or date/time value by a
given interval?
Answers were Sorted based on User's Feedback
Answer / name is no need
I think for the above question intnx is the correct
answer,can any one comment on this?
| Is This Answer Correct ? | 12 Yes | 1 No |
Answer / rammohan
intnx is the correct answer for incrementing date values.
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / pambrose
Here is the detailed usage of intnx function
date1=intnx('month','01jan95'd,5,'beginning');
put date1 / date1 date7.;
date2=intnx('month','01jan95'd,5,'middle');
put date2 / date2 date7.;
date3=intnx('month','01jan95'd,5,'end');
put date3 / date3 date7.;
date4=intnx('month','01jan95'd,5,'sameday');
put date4 / date4 date7.;
date5=intnx('month','15mar2000'd,5,'same');
put date5 / date5 date9.;
interval='month';
date='1sep2001'd;
align='m';
date4=intnx(interval,date,2,align)
;put date4 / date4 date7.;
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / madhupamuluri
Here asked interval so INTCK IS correct.By using this we have to caluculate difference betn two date values
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / nina
Which FUNCTION advances a date, time or date /time value by
a given interval?
Intck
| Is This Answer Correct ? | 2 Yes | 8 No |
WHAT IS LAG FUNCTION ? WHERE CAN YOU IMPLEMENT THIS FUNCTION?
how to import HTML files into SAS datasets?
What is SAS? What are the functions does it performs?
how to delete the duplicates by using proc sql?
How to import the Zip files into SAS? If it is possible in SAS? If it is posible write the code...
data abc; input x y ; cards; 1 2 5 6 7 8 7 8 1 7 5 7 ; run; Proc Freq data=abc; tables x*y / chisq nopercent nocol norow PLCORR; RUN; If we run the code, we have Polychoric Correlation = 0.9054 in the last table. I want to extract this particular entry with the value. Means I will create one dataset in which this value will be stored/extracted. I need your help in coding this. Please help me out.
i have a data set with 20 observations i want label from 8 to 15 observations ? how you create this one.
what are all the reports you generated in your recent project?
0 Answers Accenture, Quintiles,
name several ways to achieve efficiency in your program? : Sas programming
How do you control the number of observations and/or variables read or written? Approximately what date is represented by the SAS date value of 730?
what is study design in while working with SAS? what are screening variables in SAS?
what is a method for assigning first.var and last.var to the by groupvariable on unsorted data? : Sas programming