I built an operational Android app that stores / retrieves data in Firebase. I am now replicating the app in IoS / Swift. On Android I use Java Classes (POJOs) that include Java Date attributes. I store the whole class in Firebase. Below is a screenshot of what Firebase does with a Java Date.
Here are my questions:
- Although it "Works" is Java Date not supported in FB?
- If Java Date is supported in FB, will a Swift Class with Date in it inter-operate with the Java-based Dates in Firebase? (I am new to Swift)
- What is the recommended best practice for Date format "Universality" across IoS and Android? A long int representing UTC?