title: Converting time in minutes in swift 3.0
body: <pre><code>data: [
  {
  schedule_id: "1",
  schedule_name: "Garage Out",
  schedule_lat: "22.5737085",
  schedule_long: "88.4317922",
  sehedule_time: "07:10 AM",
  schedule_icon: "",
  schedule_note: "EN-27, EN Block, Sector V, Salt Lake City, Kolkata, West Bengal 700091, India",
  active_status: "0",
  trip_id: "0"
  }
  </code></pre>
  
  <p>Above I am getting time in string format from JSON.
  How will I convert it in minutes in swift </p>
  
  <p>example:-
   07:10 in minutes = 430</p>