Here is some code that allows you to rename a document:
function renameFile() {
var s = SpreadsheetApp.getActiveSpreadsheet();
s.rename("new file name");
}
Can you modify this function to rename the file to "new filename 1/18"? Remember, where 18 represents the current day and 01 January.