home *** CD-ROM | disk | FTP | other *** search
- Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
- Path: sparky!uunet!paladin.american.edu!auvm!NIEHS.BITNET!WHITMIR1
- X-Envelope-to: SAS-L@VTVM2.BITNET
- X-VMS-To: IN%"SAS-L@VTVM2.BITNET"
- X-VMS-Cc: WHITMIR1
- Message-ID: <01GO14SNH7ZK8Y5GHH@NIEHS.BITNET>
- Newsgroups: bit.listserv.sas-l
- Date: Wed, 26 Aug 1992 08:37:00 EST
- Reply-To: WHITMIR1@NIEHS.BITNET
- Sender: "SAS(r) Discussion" <SAS-L@UGA.BITNET>
- From: WHITMIR1@NIEHS.BITNET
- Subject: SAS date function
- Lines: 21
-
- Hello everybody,
-
- Is there any function in SAS regarding DATE function similar to INTNX function
- that does oposite of what INTNX function does?
- I am trying to go forward in time and I have a SAS date (MMDDYY8.) and I need to
- be able to reach the month and the year which is 15 years later than my original
-
- date.
- ex.
- dobmo = 4;
- dobdy = 6;
- dobyr = 62;
- dob_dt = mdy(dobmo,dobdy,dobyr);
- age = 15;
- I need to add 15 years to the dob date. How can I get month value from this?
- I know that I can calculate the year by using year part of "dob_dt" and
- add it to the age variable. The problem is the month.
-
- Any solution ?
- Thank
- Please send your suggestion to: WHITMIR1@NIEHS.BITNET
-