How can I get the third date to format like the other dates with Day of week, Month, Day, Time, Timezone, Year.
I am mostly trying to get an inputted time to default formatting for comparisons.
CodePudding user response:
const formatted_date = new Date(your_date);
Should do the trick for you