How to convert "/Date(1639580400000-0000)/" into the date time format in flutter dart..
"startDateTime": "/Date(1639580400000-0000)/",
i want to change this string into the date format
: exp- (12-MAY-2023)
I want to convert this string into the date format in the Flutter (dart)
3
Answers
You can try this function hope this will work for you
you can checkout full code here
https://dartpad.dev/?id=4223a468a49f24a41f0282fb990718fb
add this package (intl) to your pubspec.