Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-23903

Add $date aggregation operators to convert a String with a ISO date into a Date

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major - P3
    • Resolution: Duplicate
    • None
    • None
    • Aggregation Framework
    • None
    • Query

    Description

      Example:

      {$date: "2016-04-16T13:32:10"}

      would return the Date object ISODate("2016-04-16T13:32:10.000Z")

      Attachments

        Issue Links

          Activity

            People

              backlog-server-query Backlog - Query Team (Inactive)
              mbertelsen Michael Bertelsen
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: