Can any1 please help me . I have to calculate field of coupon issuance date .expiry date of coupon is 3 months . But in my data sets i am only having expiry date . Is this the correct way to solve such que
data _class_1;
coupon_issuance_date=intnx('02',20,-3,'b');
proc print data = _class_1 noobs;
run;
already done it sir .
And did you get the result you expected?
@mehak wrote:
Can any1 please help me . I have to calculate field of coupon issuance date .expiry date of coupon is 3 months . But in my data sets i am only having expiry date . Is this the correct way to solve such que
data _class_1;
coupon_issuance_date=intnx('02',20,-3,'b');
proc print data = _class_1 noobs;
run;
No. Review how the INTNX() documentation, there are examples at the bottom of the page.
Specifically:
INTNX(interval <multiple><.shift-index>,
<, 'alignment'>)
Compare the parameters above to yours.
The examples are towards the bottom of the page.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.