title: Date is expected to be in ISO 8601 format yyyy-MM-ddTHH:mm:ss.fffffff-HH:MM
body: <p>i need to convert this (<code>2015-09-30 05:47:58</code>) time format into ISO 8601 format, i have tried googling and lot of code examples, but no luck, final format for API is <code>2015-09-30T07:06:21.5663224Z</code>, appreciate help</p>
  
  <pre><code>    $date = new DateTime(); 
      echo $new_date = $date-&gt;setISODate($order-&gt;getPickupDate());
      echo $PickupDate = $date-&gt;format(DateTime::ATOM);
  </code></pre>
  
  <p>I want to <code>YYYY-MM-ddTHH:mm:ss.fffffff-HH:MM</code>   </p>