title: Android - Get time from EditText inputType="time"
body: <p>I have <code>EditText</code> in my XML file:</p>
  
  <pre><code>   &lt;EditText
      android:id="@+id/etExitHour"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_alignParentBottom="true"
      android:layout_alignParentLeft="true"
      android:layout_alignParentStart="true"
      android:ems="10"
      android:inputType="time"
      android:hint="exit hour"/&gt;
  </code></pre>
  
  <p>How can I get the time that the user enters?</p>