detect time greater than 12am

-throw exception when user enters time greater than 12 ending with am