12 hour clock

Hi Im putting together a clock. This code is a bit confusing. This is what Im using for the hour
for the tens I have:
(floor(( game.Clock.Hour %12)/10))..".png"
for ones I have:
(( game.Clock.Hour %12)%10)..".png"
if its 12 am or pm I just get 0
for the tens I have:
(floor(( game.Clock.Hour %12)/10))..".png"
for ones I have:
(( game.Clock.Hour %12)%10)..".png"
if its 12 am or pm I just get 0