code: def setMilitaryTime(self, state=True):
          
          time = self.time()
  
          self._militaryTime = state
          self._hourCombo.clear()
  
          if state:
              self._timeOfDayCombo.hide()
              self._hourCombo.addItems(['{0:02d}'.format(i+1) for i in xrange(24)])
          else:
              self._timeOfDayCombo.show()
              self._hourCombo.addItems(['{0}'.format(i+1) for i in xrange(12)])
  
          self.setTime(time)
docs: Sets whether or not this widget will be displayed in military time.  When in military time, the hour options
          will go from 01-24, when in normal mode, the hours will go 1-12.
  
          :param      state   | <bool>