Posted by Krustov on 03/16/07 19:09
<comp.lang.php>
<Rik>
<Fri, 16 Mar 2007 19:31:00 +0100>
<op.tpaodyb7qnv3q9@metallium>
> Fastest way, if the format is consistent:
>
> $date_array = explode('-',$string);
> array_reverse($date_array);
> $string = implode('-',$date_array);
>
Saved to disk although Floortge's method might be more practical as i
might want to add a extra line of text and only use a part of the date .
[Back to original message]
|