Hello @kartik,
JavaScript has built-in support for dates. First, to get your string into a Date object:
date = new Date('sun nov 29 2020 20:14:56 GMT-0600 (CST)')
Now you can use various methods on the date to get the data you need:
date.toDateString() // "sun nov 29 2020 "
date.toUTCString() // "sun nov 29 2020 20:14:56 GMT-0600 (CST)"
date.getMonth() // 11
date.getDate() // 29
date.getFullYear() // 2020
Hope this helps!!
To know more about Mongodb, go for Mongodb training online without fail.
Thanks!