title: Does a local Android Firestore instance sync its internal clock with the server?
body: <p>The reason I ask is because we know that local writes to Firestore are instant. Meaning that locally written objects can be queried instantly. We are also told by the documentation that there is a <a href="https://firebase.google.com/docs/reference/android/com/google/firebase/firestore/ServerTimestamp" rel="nofollow noreferrer">ServerTimestamp</a> annotation.</p>
  <blockquote>
  <p><strong>ServerTimestamp</strong></p>
  <p>public abstract @interface ServerTimestamp implements Annotation</p>
  <p>Annotation used to mark a timestamp field to be populated
  with a server timestamp. If a POJO being written contains null for a
  @ServerTimestamp-annotated field, it will be replaced with a
  server-generated timestamp.</p>
  </blockquote>
  <p>It sounds like if an object field is so annotated, and the object written locally, then queried locally, then the field would contain the <code>current server timestamp</code>. Of course this would mean that the local Firestore instance, at some point, synced its clock with the server. Is this true?</p>
  <p>If true, then such a trick could be used to query the current Firebase server time, effectively synching clocks.</p>