Untitled
const myDate = moment(); console.log('myDate', myDate) //myDate Moment<2023-10-11T10:48:27+00:00> const other = myDate.endOf("day"); console.log('myDate', myDate) //myDate Moment<2023-10-11T23:59:59+00:00> console.log('other', other) //other Moment<2023-10-11T23:59:59+00:00>