How to use the ServerValue on this page and here they say the timestamp is implemented for firebase_database
Use ServerValue.timestamp to set time
DatabaseReference.set({
'time': ServerValue.timestamp,
}).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With