I\'m trying to build off a chat application using Firebase on the web, and create and Android client. In my web app, I send the Firebase Server\'s time stamp along with the
It is too long to go into comment. I meant more something like this, which I used on number of occasions.
var chatUserRef = new Firebase("your url to chat user");
chatUserRef.child('time')
.set(Firebase.ServerValue.TIMESTAMP)
.on('value', function(snapshot){
var current_server_time = snapshot.val();
});
It is in javascript nevertheless the principle should be the same in Java.