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

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

      Example:

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

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

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

              Created:
              Updated:
              Resolved: