1

I used the following line to add a timestamp to a document in Firebase "createdAT": Firebase.ServerValue.timestamp() When I grab the document from Firebase and run the line of code print(document["createdAT"]) , I receive this in the console:

{".sv" = timestamp;}

Is there a way to convert that to an actual timestamp in Swift?

Noah Witherspoon
  • 57,021
  • 16
  • 130
  • 131
Curtis Colly
  • 45
  • 2
  • 8

0 Answers0