Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-1211

Timestamp is stored in seconds but displayed in MS (before 2.4)

    • Type: Icon: Task Task
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • Server_Docs_20231030
    • Affects Version/s: None
    • Component/s: manual
    • Labels:
      None

      In the doc http://docs.mongodb.org/manual/core/document/ we mention that the timestamp is stored as a time_t in seconds.

      We should clarify that while its stored in seconds we display it in milliseconds when output from shell. Under 2.2 the creation of a Timestamp takes a milliseconds value rather than as seconds which impacts how a timestamp is used.

      This is also effected by the changes to the constructor outlined in SERVER-7718

            Assignee:
            Unassigned Unassigned
            Reporter:
            david.hows David Hows
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              11 years, 8 weeks, 1 day ago