How to convert below ISO8601 format into just month and day.
2022-08-29T10:33:49.283Z
to
29/8
you can use intl
DateTime now = DateTime.parse('2022-08-29T10:33:49.283Z');
var formatter = DateFormat('dd/MM');
var formatted = formatter.format(now);
print(formatted);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With