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

Displaying isMaster().localtime using local TZ

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • Server_Docs_20231030
    • None
    • manual
    • None

    Description

      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();

      Attachments

        Activity

          People

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

            Dates

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