I am a Android studio beginner. May I ask how can I get the timestamp in android studio through Firebase in String?
The code that I have used for updating the timestamp as below.
Map<String, Object> map = new HashMap<>();
map.put("timestamp", ServerValue.TIMESTAMP);
queue.child(UserInfo).updateChildren(map);
Big thanks!!