How do I convert a property in MongoDB from text to date type?
- by Jeff Fritz
In MongoDB, I have a document with a field called "ClockInTime" that was imported from CSV as a string.
What does an appropriate db.ClockTime.update() statement look like to convert these text based values to a date datatype?