There is a chat on firebase. It is necessary when sending a message to ask him time in milliseconds. And some users crookedly adjust the time on their phones, because of this it is necessary to take time from the Internet.
Question. Is there an easy way to get milliseconds via firebase, if not, how did you solve this problem?
Ps There are a million solutions to this problem on the Internet, but I didn’t find that it was possible to request time in 1-2 lines of code, thanks in advance.