RE: php date function

2013-09-29 Thread Virgil Bierschwale
PM To: 'ProFox Email List' Subject: RE: php date function I think I'm close but I'm getting flagged when I create my switch variables. $curDate = Date('Y/m/d'); $firstDate = DateTime::createFromFormat('Y/m/d', '2013/08/27'); $secondDate = D

RE: php date function

2013-09-29 Thread Gary Jeurink
I think I'm close but I'm getting flagged when I create my switch variables. $curDate = Date('Y/m/d'); $firstDate = DateTime::createFromFormat('Y/m/d', '2013/08/27'); $secondDate = DateTime::createFromFormat('Y/m/d', '2013/09/02'); if ($curDate >= $firstDate && $curDate <= $secondDate

RE: php date function

2013-09-27 Thread Gary Jeurink
there is something quicker/cleaner. Thanks you guys Gary Jeurink -----Original Message- From: Gary Jeurink [mailto:g.jeur...@charter.net] Sent: Friday, September 27, 2013 10:58 AM To: 'ProFox Email List' Subject: RE: php date function I struggle because I'm not good with t

RE: php date function

2013-09-27 Thread Virgil Bierschwale
er than midnight, but for now I will live with it as I'm behind in my accounting classes and class ends this weekend. -Original Message- From: ProFox [mailto:profox-boun...@leafe.com] On Behalf Of Gary Jeurink Sent: Friday, September 27, 2013 10:58 AM To: 'ProFox Email List' S

RE: php date function

2013-09-27 Thread Gary Jeurink
ssage- From: Virgil Bierschwale [mailto:vbier...@gmail.com] Sent: Tuesday, September 24, 2013 1:18 PM To: 'ProFox Email List' Subject: RE: php date function Here is some code I use for changing video's each day Should be self explanatory, but if not, give me a shout http://w

Re: php date function

2013-09-24 Thread Stephen Russell
On Tue, Sep 24, 2013 at 3:16 PM, Dan Covill 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: >>

Re: php date function

2013-09-24 Thread Dan Covill
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 main

RE: php date function

2013-09-24 Thread Virgil Bierschwale
Here is some code I use for changing video's each day Should be self explanatory, but if not, give me a shout http://www.youtube.com/embed/tFAiqxm1FDA"; frameborder="0" allowfullscreen>'; // Gomer Pyle echo 'http://www.youtube.com/embed/r5KeGccP9Jk?feature=player