티스토리 뷰

function makeDate(dayDiff ) {

   var curDate = new Date( );
   var diffDate = new Date(curDate.getFullYear(),curDate.getMonth(),curDate.getDate() );
   diffDate.setDate(diffDate.getDate() + dayDiff);
   var strCurDate= curDate.getFullYear() + (curDate.getMonth()+101 +"").substring(1,3) +(curDate.getDate()+100 +"").substring(1,3);
   var strDiffDate= diffDate.getFullYear() + "년" + (diffDate.getMonth()+101 +"").substring(1,3) + "월" +(diffDate.getDate()+100 +"").substring(1,3) + "일";
   //orderForm.txtInDate.value = strCurDate;
   orderForm.txtInDate.value=strDiffDate;

Total
Today
Yesterday
최근에 올라온 글
«   2025/01   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31