function dayFormat(dayVar){
// 日付の書式を変換
box2 = dayVar.split('-');
box3 = box2[box2,2].split('T');
box4 = box3[box3,1].split('.');
box5 = box4[box4,0].split(':');

thisYear = box2[box2,0]; // 年
thisMonth = box2[box2,1]; // 月
thisDate = box3[box3,0]; // 日
thisTimeH = box5[box5,0]; // 時間 : 時
thisTimeM = box5[box5,1]; // 時間 : 分
thisTimeS = box5[box5,2]; // 時間 : 秒

// ミリ秒に変換
dObj = new Date(thisYear,thisMonth-1,thisDate,thisTimeH,thisTimeM,thisTimeS);
thisMilliSec = Date.parse(dObj);

// 曜日の表示
dayBox = new Date(thisYear,thisMonth-1,thisDate);
dateBox = dayBox.getDay();
if(dateBox == 0){ opDay = '日'; }
if(dateBox == 1){ opDay = '月'; }
if(dateBox == 2){ opDay = '火'; }
if(dateBox == 3){ opDay = '水'; }
if(dateBox == 4){ opDay = '木'; }
if(dateBox == 5){ opDay = '金'; }
if(dateBox == 6){ opDay = '土'; }


// 祝日の表示
setCurrentDate();
if(isHoliday(thisYear,thisMonth,thisDate)){
opDay += '・祝';
}

// == 出力タイプ
// YYYYMMDD
opFmtDateSys = thisYear + thisMonth + thisDate;


// 日付の表示補正
if(thisMonth.substring(0,1) == 0){
	thisMonth = thisMonth.substring(1,2);
}
if(thisDate.substring(0,1) == 0){
	thisDate = thisDate.substring(1,2);
}

// == 出力タイプ

// 表示用日付FMT
opFmtDate = thisMonth + '/' + thisDate + '(' + opDay + ')'; // MM/DD(曜・祝)

// 表示用時間FMT
opFmtTime = thisTimeH + ':' + thisTimeM; // HH:MM




}
