Adding Leading Zeros to Stopwatch Timer

The Chrono function uses #SWEH# #SWEM# #SWES# for Hours, Minutes and Seconds in the timer display. Is there a way to add leading zeros so you get a “00:00:00” kind of display?

The function I want to add this to is shown below (unless there is a better way of doing this):
(floor(#SWEH#%60)):(floor(#SWEM#%60)):(floor(#SWES#%60))

Any suggestions would be greatly appreciated.