Posted by ZeldorBlat on 08/07/06 16:55
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]
|