Creating a clock (12 hour clock)

When you attach a directional lighting it goes from 0-12 and 12-0 (for night)