Home > OS >  Date Formatting in Apps Script
Date Formatting in Apps Script

Time:11-24

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.

enter image description here

CodePudding user response:

const formatted_date = new Date(your_date);

Should do the trick for you

  • Related