I am trying to retrieve firebase server timestamp (firebase.database.ServerValue.TIMESTAMP) in a polymer project using polymerfire. Is that possible and how ? Thanks
Asked
Active
Viewed 108 times
1 Answers
0
You can use this place holder value: {".sv":"timestamp"} For example when you push your data:
this.$.post.ref.push({
title:"Hello",
body:"Hello world",
time:{".sv":"timestamp"}
})

Tyler Beatty
- 3
- 3