Re: [PHP] checking dates not working

2011-11-10 Thread tamouse mailing lists
On Thu, Nov 10, 2011 at 4:35 PM, Marc Fromm wrote: > I have this bit of code to see if a date is greater or equal to a set date. > > echo(date("m/d/Y",strtotime($jobs_effective_start)));// displays entered date > of 01/03/2012 > echo(date("m/d/Y",strtotime(WSOFFBEGIN))); // displays set date of 0

Re: [PHP] checking dates not working

2011-11-10 Thread Simon J Welsh
On 11/11/2011, at 11:35 AM, Marc Fromm wrote: > I have this bit of code to see if a date is greater or equal to a set date. > > echo(date("m/d/Y",strtotime($jobs_effective_start)));// displays entered date > of 01/03/2012 > echo(date("m/d/Y",strtotime(WSOFFBEGIN))); // displays set date of 09/16

[PHP] checking dates not working

2011-11-10 Thread Marc Fromm
I have this bit of code to see if a date is greater or equal to a set date. echo(date("m/d/Y",strtotime($jobs_effective_start)));// displays entered date of 01/03/2012 echo(date("m/d/Y",strtotime(WSOFFBEGIN))); // displays set date of 09/16/2011 if (!(date("m/d/Y",strtotime($jobs_effective_start