Keeping Time is giving me a headache

Please read this to format your code