var dt = new Date();
var year = dt.getFullYear();
var month = ("00" + (dt.getMonth()+1)).slice(-2);
var day = ("00" + (dt.getDate())).slice(-2);
var week = gt.getDay();
var weekString = ["月","火","水","木","金","土","日"][week];
var todayFull = year + "/" + month + "/" + day + "(" + weekStrng + ")";
var today = year + "/" + month + "/" + day;
Editor.InsText(todayFull + "本日");
Editor.InsText("\r\n");