On Tue, Sep 24, 2013 at 3:16 PM, Dan Covill <[email protected]> wrote:

> 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.
> ------------


Why not have it date driven in a table?  You just have to figure out what
your day of the week is to use.  Thursday or Monday?


-- 
Stephen Russell
Sr. Analyst
Ring Container Technology
Oakland TN

901.246-0159 cell


--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---

_______________________________________________
Post Messages to: [email protected]
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/cajidmylh4ku4z623qe-dow_2zsasusybbhcpzh3x06oa2bd...@mail.gmail.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.

Reply via email to