Military time validator.