JScript on WSH (Windows Script Host)

インデックス
日付 YYYY/MM/DD hh:mm:ss
function padding( n ) {     return ("0" + n).slice( -2 ); } var addHour = 3; var dt = new Date(); dt = new Date(     dt.getFullYear(),     dt.getMonth(),     dt.getDate(),     dt.getHours() + addHour,     dt.getMinutes(),     dt.getSeconds() ); WScript.Echo(     dt.getFullYear() + "/" +     padding(dt.getMonth() + 1) + "/" +     padding(dt.getDate()) + " " +     padding(dt.getHours()) + ":" +     padding(dt.getMinutes()) + ":" +     padding(dt.getSeconds()) );
2022/02/05 06:32:33