Saturday, 22 April 2017

How do I get the server timestamp in firebase functions?

I know you can pull the server timestamp in web, ios, and android - but what about the new firebase functions? I can't figure out how to get the server timestamp there? Use case is me wanting to timestamp an email when it arrives.

On web it is Firebase.database.ServerValue.TIMESTAMP

But that doesn't seem to be available in the functions node server interface?

I think it is late and I may be missing the point here...



via Justin Handley

No comments:

Post a Comment