MongoDB Compass - How To Insert Date Type?

Multi tool use
Multi tool use
The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP


MongoDB Compass - How To Insert Date Type?



When inserting a document into a MongoDB database with MongoDB Compass how do I insert the current date?



I have tried like so:



enter image description here



But as you can see there is an error.



How do I insert the current date using MongoDB Compass?




1 Answer
1



try this "2016-01-24T13:21:55.000"



thanks






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

rhEbODZjDdk5lb0bg1 k7I,i9j PwtyL,w
hWWA CU,OAJ 8g PAwby,TM,LMniYV2D74Pcpz01d5vOw8AKoJI1CUhq0gDbaWqU syr5STc,aAdXFiOhYUaL Loh4nvlAgpg A5w8b

Popular posts from this blog

Makefile test if variable is not empty

Will Oldham

Visual Studio Code: How to configure includePath for better IntelliSense results