I am trying to load data using the mongo import. My questions is focused on how to import a date. I know how to insert a record with the correct date format, but each time I try to import date using ISODate("<date>") or new ISODate("<date>") or Date("<date>") it keeps it in that format and treats the field as a string. I want the field to be an ISODate object so the C# driver handles it properly. What am I doing wrong or what is the correct way to import a datetime field?
--
--
You received this message because you are subscribed to the Google
Groups "mongodb-user" group.
To post to this group, send email to mongod...@googlegroups.com
To unsubscribe from this group, send email to
mongodb-user...@googlegroups.com
See also the IRC channel -- freenode.net#mongodb
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.