How to store time in mongodb

how we can store time in mongodb, in mongoose schema

Hi @mahendrakumar_30972,

I believe this can provide more detailed explanation than I could try:

https://mongoosejs.com/docs/guide.html#timestamps

Feel free to reach out if you have any queries.

Kanika