Home > Q&A > body text
How to convert the following seconds into minutes in php
456.83 451.77 263
How to convert to 00:00 minute formatsuch as 10:03
漂亮男人2017-05-16 13:07:34
date('i:s',256.83);
PHP中文网2017-05-16 13:07:34
Use gmdate() function
gmdate()
echo gmdate("i:s", 456.83);
天蓬老师2017-05-16 13:07:34
Just divide it by 60.