title: Mongodb select query with "date" from "timestamp" field
body: <p>We are using &quot;timestamp&quot; field on our documents but we want to select document with &quot;date&quot;.
  Is it possible ?</p>
  <pre><code>&quot;track&quot;:{
            &quot;trackSourceList&quot;:[
               {
                  &quot;sourceId&quot;:&quot;45&quot;,
                  &quot;sourceType&quot;:&quot;AIS_CLASS_A&quot;,
                  &quot;trackId&quot;:&quot;45271042797&quot;
               }
            ],
            &quot;battleSpaceObject&quot;:{
               &quot;shipName&quot;:&quot;xxx&quot;,
               &quot;callSign&quot;:&quot;xxx&quot;,
               &quot;shipType&quot;:{
                  &quot;_id&quot;:&quot;999600000000000000166&quot;,
                  &quot;shipStatCode5&quot;:{
                     &quot;_id&quot;:&quot;999600000000000000519&quot;,
                     &quot;shipStatCode5&quot;:&quot;B34E2SV&quot;,
                     &quot;editable&quot;:false
                  },
                  &quot;shipTypeValue&quot;:&quot;OTHER&quot;,
                  &quot;aisShipType&quot;:&quot;UNKNOWN&quot;,
                  &quot;editable&quot;:false
               },
               &quot;flag&quot;:&quot;xxx&quot;,
               &quot;imoNo&quot;:&quot;0&quot;,
               &quot;mmsiNo&quot;:&quot;271042797&quot;,
               &quot;lengthOverall&quot;:18,
               &quot;breadth&quot;:4,
               &quot;pursuitShipList&quot;:[
                  
               ],
               &quot;shipAttachmentList&quot;:[
                  
               ],
               &quot;shipRegistry&quot;:{
                  
               },
               &quot;isPursuitShipIndicator&quot;:false
            },
            &quot;trackKinematic&quot;:{
               &quot;trackLat&quot;:41.11355972290039,
               &quot;trackLon&quot;:29.056987762451172,
               &quot;trackAlt&quot;:0,
               &quot;groundSpeed&quot;:0,
               &quot;course&quot;:215.10000610351562,
               &quot;turnRate&quot;:0,
               &quot;trackQuality&quot;:&quot;NULL&quot;,
               &quot;timeStamp&quot;:{
                  &quot;$numberLong&quot;:&quot;1608882200099&quot;
  </code></pre>
  <p>We want to select data using &quot;date&quot; data type by &quot;track.trackKinematic.timeStamp&quot;.</p>
  <p>Can anyone help us?</p>
  <p>Thanks.</p>