Convert seconds to Hour:Minute:Second September 23, 2022 by Tarik You can use the gmdate() function: echo gmdate("H:i:s", 685);