Select based on timestamp and update timestamp with zero
问题 How do I select records from a date field which has a time (HH:MM:SS.Milisecond) value greater than zero from a MongoDB collection and update it with a time (HH:MM:SS) value as zero by keeping the date value the same as the existing value in a Python script? The current data would look like as below - 1) "createdDate" : ISODate("2015-10-10T00:00:00Z") 2) "createdDate" : ISODate("2015-10-11T00:00:00Z") 3) "createdDate" : ISODate("2015-10-12T00:00:00Z") 4) "createdDate" : ISODate("2015-10-13T01