title: How to transform date with angular 2?
body: <p>i want to transform the date coming from the server in this format 
  to this format
  ('yyyy-mm-dd hh-mm-ss')</p>
  
  <p><a href="https://i.stack.imgur.com/sfpHD.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sfpHD.png" alt="enter image description here"></a></p>