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 |

Reply via email to