Can you count on 24h basis? If your counter is counting that way, then you can display the modulus 12 value.

Ioannis