. 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 does .. meant in sas macros
hi guys ...i have one query... data abc; input s w k g o t a m; cards; 1 2 3 4 5 6 7 8 2 3 4 5 6 7 8 9 ; run; i want the output to be the sorted order(only variables).observations should not be changed..
What commands are used in the case of including or excluding any specific variables in the data set?
If reading an external file to produce an external file, what is the shortcut to write that record without coding every single variable on the record?
What is program data vector (pdv) and what are its functions?
Hot to suppress characters from a given string?
What is Transaction...? And what are Comment, Roll back n Save point..?
What is SAS informats?
How to read multiple excel sheets from a single excel file at once????
7 Answers HCL, Verinon Technology Solutions,
Can you use a macro within another macro? If so how would SAS know where the current acro ended and the new one began?
What can you learn from the SAS log when debugging?
How would you invoke a macro? : sas-macro