How can control the date format when generating a google docs (PDF) from a google spreadsheet with script?
问题 I generate a PDF file from a sheet of Google (that is populated with Google form) using a script and a template with Google Docs. But doing this I obtain that in google sheets date are in dd/mm/yyyy format while in the final PDF it's like this = Sat Feb 27 2016 00:00:00 GMT+0100 (CET) The "core" of the script is (for each row of the google sheet) var copyFile = DriveApp.getFileById(TEMPLATE_ID).makeCopy(FileName); var copyId = copyFile.getId(); var copyDoc = DocumentApp.openById(copyId); var