changing hours to 24 hour period