Any URL's added here will be added as
If active, Pens will autosave every 30 seconds after being saved once.
If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.
If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.
Visit your global Editor Settings.
//今日の日付データを変数に格納 //変数は"today"とする var today=new Date(); //年・月・日・曜日を取得 var year = today.getFullYear(); var month = today.getMonth()+1; var week = today.getDay(); var day = today.getDate(); var week_ja= new Array("日","月","火","水","木","金","土"); //年・月・日・曜日を書き出す document.write(year+"年"+month+"月"+day+"日 "+week_ja[week]+"曜日");
Also see: Tab Triggers