. 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 data access? : Sas-di
How to test the debugging in sas?
please can you tell me that in companies sas work are doing by through sas coding or sas wizard ??
What is a pdv and what are its functions?
Which are the statements whose placement in the data step is critical?
how sas deals with business intelligence? : Sas-bi
Are you involved in writing the inferential analysis plan? Tables specfications?
What are common programming errors committed in sas
If you could design your ideal job, what would it look like?
How many data types are there in SAS?
how does sas handle missing values in assignment statements? : Sas programming
what is broad cast agent? : Sas-bi
Why and when do you use proc sql?
Hello Friends, am new to this forum and am not good at sas progarmming. please can any one of you send me couple of sample large sample SAS Jobs which can you use 200 MB of data and other sas job upto 25GB of data. am doing a performance testing on our legacy systems and new upgraded system. I would really appreciate if you can do me this favor Thank you Priya
What are pdv and it functions?