title: How do I convert 2018-04-10T04:00:00.000Z string to DateTime?
body: <p>I get a date from a JSON API which looks like this "2018-04-10T04:00:00.000Z". I want to convert it in order to obtain a Date or String object and get something like "01-04-2018" that its "dd-MM-YYYY". How can I do it?</p>