I'm trying to get a real life time based on seconds, where the number of seconds can be greater than 86400 (which equals 24 hours++). So for example; If the seconds equals 90000 the result will be 25:00:00, but instead I would like the output to be 01:00:00..
My logic is this:
IF seconds >= 86400
// Add day of date +1
// something similar to SEC_TO_TIME(seconds..). Need some help here
else
SEC_TO_TIME(seconds)