gmdate("H:i:s", no_of_seconds);
Will not give time in H:i:s
format if no_of_seconds
is greater than 1 day (seconds in a day).
It will neglect day value and give only Hour:Min:Seconds
For example:
gmdate("H:i:s", 89922); // returns 0:58:42 not (1 Day 0:58:42) or 24:58:42