const date = new Date('August 19, 2020 23:15:30');
const event = new Date();
console.log(`event.setDate(date.getDate() + 1));
this code is supposed to return a date but its not returnign a date instead it is returning a number 1603240915215
can some one help me to get the date instead of such number?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…