Re: php date function

Author: Dan Covill

Posted: 2013-09-24 at 15:16:26

On 09/24/13 11:09 AM, Gary Jeurink wrote:

> Could somebody get me started on a PHP switch or IF ELSE function to set the

> current week of a football season. Right now I am setting the date manually

> each week with the following:

For my Fantasy Football tracking program I do the following:

a. I maintain CurrentWeek as a saved parameter in my oApp object.

Values are 0-17, 0 is pre-season projections.

b. On firing up, CurrentWeek is displayed, with a button to change it.

Usually change it once, at the beginning of a weeks' activities.

c. Most actions display oApp.CurrentWeek and verify that this is what

you want before printing reports etc.

Since I do a lot of different things for a week, this is easier than

trying to calculate it each time I fire up.

Easy to change to CollegeWeek and ProWeek for your use.

Dan

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/5241F31A.7050405@san.rr.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2013 Dan Covill