Hoping this is a simple problem for you lot. I have no coding knowledge at all. But been using the below script in a Google Sheet to grab changing data from another sheet an
To specify the format for a specific cell
var cell = sheet.getRange("A2"); cell.setNumberFormat("dd/MM/yyyy");
To specify the format for a range of cells
var cells = sheet.getRange("A2:C2"); cells.setNumberFormat("dd/MM/yyyy");
Please see the documentation for Range and formats.