How to convert “1 hour and 10 minutes” string into the following format 01:10:00 using php. This is what i did – echo date('H:i:s',strtotime('1 hour and 10 min'));
Output is — 01:00:00
How to convert 1 hour and 10 minutes string into the following format 01:10:00
Share
1 Answer