I am working in Firebase and writing a Cloud Function in JavaScript. I am trying to extract a Month Day, Year
string from a Firebase Timestamp (from my database).
In my Cloud Function I use timestampObj.toDate().toString()
and it returns a string like this in my client-side:
Fri Dec 06 2019 18:06:52 GMT+0000 (UTC)
How do I get the string December 6, 2019
from the line above in my Dart code?