Cannot Store dateString

hi , how type for store datestring ? i have value 2020-01-05T07:51:52.787Z
but when im put type string , or string? , gettin error

You can use the date type (which corresponds to JavaScript’s Date type): https://realm.io/docs/javascript/latest#supported-types