Ron beat me to it... I just saw that.

----------------------------------------------
Bill Bell
Asst. Technology Coordinator
Monticello CUSD #25
Monticello, IL  61856
http://www.cafepress.com/tech-geeks
----------------------------------------------




On 10/8/10 12:06 PM, "Ron Friedman" <fried...@northlakelibrary.org> wrote:

> Is it because the strings are different in your example (colon vs. period).
> -5:00 vs -5.00  ?
>  
> -Ron Friedman
>  Northlake Public Library District
>  
>  
> 
> 
> From: tech-geeks-boun...@tech-geeks.org
> [mailto:tech-geeks-boun...@tech-geeks.org] On Behalf Of Paul Peacock
> Sent: Friday, October 08, 2010 6:59 AM
> To: Tech-Geeks Mailing List
> Subject: [tech-geeks] php help
> 
> can someone tell me why these 2 statemtents are not interchangeable?
>  
> $right_now=date("Y-m-d")."T00:00:00-05.00";
> $right_now="2010-10-08T00:00:00-05:00";
> The second one works, but the first one doesn't. They both seem to echo the
> same string.
>  
> Thanks.
>  
> Paul Peacock
> Lexington High School
> 
> 
> | Subscription info at http://www.tech-geeks.org |

| Subscription info at http://www.tech-geeks.org |

Reply via email to