【Google Apps Script】自動で年のフォルダとその中に月のフォルダを作ってみた。

<ソースコード> function CreateYearAndMonthDir(){ const FIRSTYEAR = 2020; //始まりの年 const LASTYEAR = 2040; //終わりの年 const FOLDERID= "(任意のフォルダid)"; //フォルダたちの置き場所 for(let i = 0; FIRSTYEAR + i<= LASTYEAR;i++){ const year = String(FIRSTYEAR + i) +"年"; const yearfolder = Drive…