White Papers

Improve Your Dating: The INTNX Function Alignment Value SAMEDAY

Overview The data step function INTNX returns a SAS date value incremented by a specified number of intervals (days, weeks, months, quarters, years, etc.). INTNX's optional fourth argument determines how the SAS date is aligned before it is incremented. In Version 9, a new alignment value was added: "sameday", which preserves the SAS date value's alignment within the interval before it is incremented. intnx('year','20nov2002'd,-1,"sameday") is the SAS date value for November 20, 2001. This paper illustrates the use of "sameday", including interesting cases such as one year and four years after February 29, 2000 and one month before March 31, 2003 and March 31, 2004.

Further White Paper Details
PublisherSAS Institute File FormatPDF
Date PublishedFebruary 2006 Downloads2
FormatWhite Papers   
Topics
    N/A
Thin clients switch on digitally excluded

Thin clients switch on digitally excluded

Case study: Digital inclusion project tackles social exclusion in Liverpool more

Renault goes multilingual

Renault goes multilingual

Case study: Translation tech turns docs into 23 languages… more


Quick Sitemap Links: