When I run the script to duplicate sheets with a date is give the tab a long date name Thu Oct 18 2018 00:00:00 GMT-0400 (EDT)
. I would like it to read in a 10/18/18
format.
Google-sheets – Duplicating sheets with simple date from a named range
google sheetsgoogle-apps-script
Related Topic
- Google Sheets – Auto Insert Column with Today’s Date
- Google-sheets – Automate range name creation in Google Sheets
- Google Sheets – Change Default Date Format with Other Locale
- Google-sheets – Google Sheets Script Editor action not applying to all sheets
- Google-sheets – Change function from running only on Active Sheet to run on All Sheets (tabs)
- Google-sheets – How to prevent editors from accessing the script editor in Google Sheets
- Google-sheets – Google Sheets countif range with date/timestamp
Best Answer
Use Utilities.formatDate. Example from the link: