In JavaScript, I want to show today's date plus 3 days.
I can do this with the following code:
var newDt = new Date();
newDt.setDate(newDt.getDate()+2);
document.writeln(newDt);
This works well and outputs:
Thu Jan 03 2019 18:39:00 GMT+0000 (Greenwich Mean Time)
I, however would like to format the date as "Day, Month, Year" without any additional time included.
I know there are various libraries that can do this, but is there a way to do it without?