[6414] in s-news-athena

home help back first fref pref prev next nref lref last post

Re: DATE ARITHMETIC

daemon@ATHENA.MIT.EDU (alejandro munoz del rio)
Wed Feb 8 13:12:42 1995

Date: Wed, 8 Feb 95 11:43:06 -0600
From: munoz@stat.wisc.edu (alejandro munoz del rio)
To: emily@predict.com
Cc: s-news@utstat.toronto.edu
In-Reply-To: <9502072347.AA10151@predict.com> (emily@predict.com)

Emily Dickinson (emily@predict.com) asks:

> Has anyone out there put together a package of date arithmetic
> functions.  E.g., functions to add/subtract a day to a given date, get
> tomorrow's date from today's date, determine whehter or not a given
> date is a weekend, etc.?

Section 9.2.1 of the blue book (pp. 268-271) has some of the answers
you're looking for. There's also a contribution called "date" in the S
archive of statlib which may also be useful.

alejandro
-- 
 alejandro munoz-del-rio   AB13 Russell Labs (Forestry)  work: (608) 263-0853
 munoz@stat.wisc.edu	   1630 Linden Dr. Rm. 120       fax:        262-9922
 Stats Dept, UW-Madison	   Madison, WI 53706             home:       233-5631

home help back first fref pref prev next nref lref last post