title: String DateTime to separate date and time (python)
body: <p>From an API call I get the following string (time_event):
  2016-02-04T11:59:25.614-08:00</p>
  <p>I only need a date: 2016-02-04 as in a single variable also
  the time as 11:59 AM/PM (removing the seconds) (as a variable too)</p>
  <p>I tried splitting the string (&quot;.&quot;) so I get only 2016-02-04T11:59:25 and splitting this one which gave me a list:
  [&quot;2016-02-04&quot;, &quot;11:59:25&quot;].</p>
  <p>Tried to join those so I can format them, but no luck. Neither do I know how to format the 11:59:25 to 11:59 AM.</p>
  <p>Can someone please help me out with this?
  Thank you.</p>