I'd like to convert a string to Date but I get this error when display date in Text :

> 
> Trying to read / from 2020-04-18 19:43:43.755927 at position 5
> 
> 
> 

and this is the function

```
String get dateNote {
   var d = DateFormat("yyyy/MM/dd", "en_US").parse(createdAt);
   return d.toString();
}

```