|
|||
|
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 |
|
|
||||
|
||||
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
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 |