How do I convert ticks to hours:minutes:seconds?

If I ask my UPS via SNMP how much runtime it has left, it gives the results in ticks, which for the UPS is hundreths of a second.
How do I convert this to hours:minutes:seconds?