From 'Today' how do i count every 15 days report?
Depends on how your data is structured, how the report will look like, and how the report intends to be generated. Please provide dome more information to get an adequate answer...
Current system date and +15 days Ex (20/08/2012 - 04/09/2012) i want it like this.
Hi,
Use INTNX function.
Thanks,
Shiva
To get today's date you can use TODAY() function call. SAS stores days as number of days since 1/1/1960 so to get 15 days into the future just add 15.
start=today();
stop=start + 15 ;
If you are dealing with datetime values or have other more complex date calculations then you should learn to use the INTNX() function.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.