Re: Bussiness Logic Date Problem

From: Date: Tue, 13 Aug 2002 18:01:25 +0000
Subject: Re: Bussiness Logic Date Problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-112383@lists.php.net to get a copy of this message
Yes, the Date/Calc.php class in PEAR can do this. -Rasmus On Tue, 13 Aug 2002, Collins, Robert wrote: > I have some bussiness logic that states a specific piece of info be > displayed on a specific day and then replaced by another piece of info when > the date roll arround. The problem is that it isn't a fixed date. The logic > is like: > > First Sunday in January display info 1 > Last Sunday in May display info2 > Last Sunday in August display info3 > > Has anyone worked out this type of scinerio to find the dates? > > Thanks > > Robert W. Collins II > Webmaster > New Orleans Regional Transit Authority > Phone : (504) 248-3826 > Fax: (504) 248-3866 > Email : rcollins@norta.com < > <mailto:rcollins@norta.com> > mailto:rcollins@norta.com> > >

« previous php.general (#112383) next »