How do i format time in php -


I have been returned once from database in php as 9 2500. But I want to format time 09:25 How can this date counter ('H: i', strotomium ($ line ['time'])). .it is getting output 00 : 00. How To Really

  $ date =   

is working perfectly for me.

Returns "09:25".

So I think that this should be some error with you. Database value is not worth the value in the $ line ['time'].

Comments