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

    • Icon: New Feature New Feature
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • 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

        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: