Saving and retrieving a date from Firestore?

I am using Xcode 11 and followed both the photo and journal app course. I have a text field where the user will use a date picker to select a date. I can’t figure out how to save and retrieve that from the database.

Any help would be greatly appreciated.