title: Flutter how to convert timestamp date time
body: <p>I am getting date and time from store. In data base its look like this</p>
  <p><a href="https://i.stack.imgur.com/YtX2H.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YtX2H.png" alt="enter image description here" /></a></p>
  <p>Need to know how can I show this as DD/MM/YY</p>
  <p>I am trying to do like this</p>
  <pre><code>    String timeString = snapshot.data[index]['lastupdate'].toString();
      DateTime date = DateTime.parse(timeString);
      print(DateFormat('yyyy-MM-dd').format(date));
  </code></pre>
  <p>Its showing error of Invalid date format</p>