0

My Android application is connected to Firebase, and I retrieve data from database successfully. But my question is there is any way to get what time the data stored in ddatabase to retrieve it to my application?

I hope my question is clear.

Alex Mamo
  • 130,605
  • 17
  • 163
  • 193
mSU
  • 25
  • 1
  • 1
  • 3

1 Answers1

3

is there is any way to get what time the data stored in ddatabase

No, Firebase realtime database does not store metadata. You should create your own mechanism by storing the desired time as a timestamp in the database as explained here.

Alex Mamo
  • 130,605
  • 17
  • 163
  • 193
  • thank you , but the time of data I want to get it , it's not saved by application ,, it's sent from esp(node mcu) to firebase – mSU Feb 14 '19 at 17:37
  • This is also what I said, that is not. You should do it yourself. – Alex Mamo Feb 14 '19 at 17:41