| 
 Posted by Iain Adams on 08/08/06 11:26 
Hey, 
 
When I try that I unfortunetely get -1. Any other ideas? 
 
ZeldorBlat wrote: 
> Iain Adams wrote: 
> > hey 
> > does anyone know to convert a time string in the form 
> > dd-mm-yyyyThh:mm:ss i.e 2006-08-01T15:45:11-00:00 to a normal unix time 
> > stamp or something that at least I can use to compare to a unix 
> > timestamp. 
> > 
> > Hope that makes sense 
> 
> $string = '2006-08-01T15:45:11-00:00'; 
> $timestamp = strtotime($string);
 
  
Navigation:
[Reply to this message] 
 |