LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (September 2009, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 18 Sep 2009 12:42:42 -0400
Reply-To:     Gerhard Hellriegel <gerhard.hellriegel@T-ONLINE.DE>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Gerhard Hellriegel <gerhard.hellriegel@T-ONLINE.DE>
Subject:      Re: Regarding the Date

sounds as if you want the days between today() and 28nov2009? For that you don't need the INTNX function. If you want to get distances, you should use the INTCK function. For days there is a quite easy way:

data _null_; dist="28nov2009"d-today(); put dist=; run;

Gerhard

On Fri, 18 Sep 2009 08:26:32 -0700, msiddu2000 <msiddu2000@GMAIL.COM> wrote:

>Hi, > >How to get 28 Nov 2009 from today's date using INTNX function, is this >possible? >Does it require whether 2009 is leap year and february's 28 >days ........... >Can anyone help me on this. > >Regars, >Siddhartha


Back to: Top of message | Previous page | Main SAS-L page