Go Back   Rhinocerus > Newsgroup > Newsgroup comp.soft-sys.sas

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 02-10-2009, 05:14 PM
Anindya Mozumdar
Guest
 
Posts: n/a
Default Re: INTNX with DAY interval? (was: code review opinions)

On Tue, Feb 10, 2009 at 11:42 PM, Anindya Mozumdar
<anindya.lugbang@gmail.com> wrote:
> While Old + NumberOfDays will work given the way SAS stores dates
> internally, I usually advise people to use the INTNX function - the
> code will be portable even if SAS decides to change the internal
> representation of dates (however unlikely it may be), as the INTNX
> function definition will also be changed if it happens.
>


Secondly, the use of INTNX also emphasizes that the user understands
that she is operating on a variable which is expected to be
interpreted as dates rather than an "ordinary" numeric variable.

Regards,
Anindya
Reply With Quote
Alt Today
Advertising
 
and become member of Rhinocerus
Standard Sponsored Links

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
INTNX with DAY interval? (was: code review opinions) Mike Rhoads Newsgroup comp.soft-sys.sas 0 02-10-2009 04:59 PM
Re: code review opinions Mary Newsgroup comp.soft-sys.sas 0 02-10-2009 02:13 PM
SCL Joe (was RE: macro structure) Gregg P. Snell Newsgroup comp.soft-sys.sas 0 06-27-2006 07:59 PM
Re: Efficient Code? nospam@HOWLES.COM (Howard Schreier Newsgroup comp.soft-sys.sas 0 06-14-2006 03:02 AM
Re: Efficient Code? toby dunn Newsgroup comp.soft-sys.sas 0 06-13-2006 11:10 PM



All times are GMT. The time now is 07:00 AM.


Copyright ©2009

LinkBacks Enabled by vBSEO 3.3.0 RC2 © 2009, Crawlability, Inc.