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

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Aggregation Framework
    • Labels:
      None

      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

              Assignee:
              backlog-server-query Backlog - Query Team
              Reporter:
              mbertelsen Michael Bertelsen
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: