As the first step in the decommissioning of the site has been converted to read-only mode.

Here are some tips for How to share your SAS knowledge with your professional network.


From sasCommunity
Jump to: navigation, search


Welcome to

A collaborative online community for SAS® users worldwide. is an ongoing global community effort—created by SAS users for SAS users. This site is a place to find answers, share technical knowledge, collaborate on ideas and connect with others in the worldwide SAS Community. Get started now by creating a UserID.

Follow Us
For daily SAS Tips, Web updates & more.

sasCommunity Tip of the Day

The INTNX function takes a supplied date, time, or datetime value and can shift it by any specified alignment you choose. For example, if you need to know the first day of the current calendar year, you can use the following formula:

intnx('YEAR', today(), 0, 'B')

But what if you need to know the beginning of an odd year format, such as the Federal Fiscal Year? The federal fiscal year starts October 1 and runs through September 30. For example, FFY2010 is October 1, 2009 through September 30, 2010. The optional shift-index portion of the interval argument can shift the interval to start at a specified subperiod starting point. For example, 'YEAR.10' specifies yearly periods shifted to start on the first of October of each calendar year and to end in September of the following year. In other words, to find the first day of the current Federal Fiscal Year, you would use:

intnx('YEAR.10', today(), 0, 'B')
Submitted By Tasha Chapman

Feel free to comment on this tip.

Prior tip - Next tip -- Random Tip

Submit a Tip

Check out the Tip of the Day page for details about this effort.

What's New

Top user questions:

....View all questions


SAS Discussion Forums

Top threads:

....View all forums


SAS-L Listserv

Testing RSS feed:

....Access full SAS-L archives


Recent SAS user blog entries:

....View all recent blogs
....Submit your blog



Recent articles:

....View all recent articles
....Create an article



Review Recent Tips Submitted by Users:

....Browse all tips
....Submit a tip now

9,514 UserIds have been created on!
View the Web-site usage statistics and the definition of terms.

Join Get Involved Sasopedia Events User Groups