scoreboard players set global timeSec 0
scoreboard players set global timeSec2 0
scoreboard players set global timeMin 0
scoreboard players set global timeMin2 0
scoreboard players set global timeHr 0

#conversion for each digit on time sign
#done in descending order
#avoids any special '0' cases down the road. I don't want to write multiple possible sign commands ;)
execute if score global gameTime matches 72000.. run function bd:game/convert_raw_time/hour
execute if score global gameTime matches 12000.. run function bd:game/convert_raw_time/10_min
execute if score global gameTime matches 1200.. run function bd:game/convert_raw_time/min
execute if score global gameTime matches 200.. run function bd:game/convert_raw_time/10_sec
execute if score global gameTime matches 20.. run function bd:game/convert_raw_time/sec