Hey Arjun,
If you mean querying and output the date in that format you can apply:
If you mean to update all documents so that they all get the new format instead? In my opinion that’s better handled with a database migration outside of Mongo DB so that you can version control it.