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

Displaying isMaster().localtime using local TZ

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • Server_Docs_20231030
    • Affects Version/s: None
    • Component/s: manual
    • Labels:
      None

      SERVER-4212 (fix version 2.1.1) adds 'localTime' to the isMaster() command, which returns an ISODate showing localTime on the server in UTC.

      Would be useful for the documentation (http://docs.mongodb.org/manual/reference/commands/?highlight=ismaster#isMaster) to link to more info on ISODates and make mention of displaying in local TZ via ISODate.toString():

      db.isMaster().localTime.toString();
      

            Assignee:
            Unassigned Unassigned
            Reporter:
            stephen.steneker@mongodb.com Stennie Steneker (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

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