Adding 24h support

Add a comment to let the user choose if he wants 24h instead of 12h time.
Added modulo 12 to handle 24h hours time around the clock.