. Which date advances a date, time or date/time value by a
given interval?
Answer Posted / 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 |
Post New Answer View All Answers
what is the one statement to set the criteria of data that can be coded in any step? : Sas programming
Why and when do you use proc sql?
what are sas bi dashboard components? : Sas-bi
what are the new features included in the new version of sas i.e., Sas 9.1.3? : Sas programming
What are the differences between sum function and using “+” operator?
How substr function works in sas?
What is the sas data set? : sas-grid-administration
What is the command used to find missing values?
Hi,by usining ptf how we have to combine (likr merge)10 datasets at a time in the oracle database(and write a macro code also)?Like this i have a douts a lot if you dont mind may please send one text mail for me(madhusudhanap16@gmail.com)?
explain the key concept of sas? : Sas-administrator
Explain what is data step?
What is data _null_?
In ARRAY processing, what does the DIM function do?
Describe a time when you were really stuck on a problem and how you solved it?
what is intially documentation in sas?