Re: how to split the stirng(02-02-2009 13:24:27)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



try this

echo date('m-d-Y H:i',strtotime( '01-31-2009 13:24:27' ));

2009/2/2 malayappa2000 <malayappa@xxxxxxxxxxxxxxxxxx>

>   hi guys
>
> we are the fallowing sting
>
> 01-31-2009 13:24:27
> we need to split sec in the above stirng i.e we need out put in the
> fallowing formta
>
> 01-31-2009 13:24
>
> provide some help ho to achive this.
>
>
>  
>



-- 
".. E no final das histórias importantes Sr. Frodo, as pessoas tinham sempre
um motivo pra desistir, mas não desistiram..
Elas acreditavam que ainda há algo de bom nesse mundo..
E que vale a pena lutar por ele".

Saw Wise Gangi
O Senhor dos Anéis - As Duas Torres


[Non-text portions of this message have been removed]


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux