Suggest using int for this ... your value could be:
Sec + Min * 60 + Hour * 3600
Within 24:30:00 you will receive 88,200.
When loading your value from the database, you can change your value with a simple mathematical equation:
Hour = int(value / 3600)
Min = int(value % 3600 / 60)
Sec = value % 3600 % 1800
source
share