Example: marketing
Function intnx
Found 2 free book(s)075-2010: Automating Report Dates and Formats Using …
support.sas.com4 CREATING AND FORMATTING DATE MACRO VARIABLES CREATING THE DATES SAS has built in date functions to perform date arithmetic. One of the most useful is the INTNX function, which has
119-2011: Using CALL SYMPUT to Simplify - SAS Support
support.sas.comThe LOG shows: X If we want to create a macro variable as the first day of the current month; in the INTNX function, we can use ‘month’ as ‘interval’, x (="07APR2011"d) as ‘from’, and 0 as ‘n’.u_ToPaid_SASdate is then resolved to 18718, which is the SAS Date for April 1, 2011. SAS Date is numeric and works for date calculations.