I was expecting the following to return 2020-01-01T23:59:59
But due to my time zone being GMT+2, it results in this 2020-01-01T21:59:59.
How do I represent the end of the day as 23:59:59 from a date that is parsed using moment.js
var date = moment("2020-01-01").endOf("day").toDate();