function printDate()
{
  youbi = new Array("日","月","火","水","木","金","土");
  myDate = new Date();
  theHours = myDate.getUTCHours() + 4;
  theDate = myDate.getUTCDate();
  theDay = myDate.getUTCDay();
  theFyear = myDate.getUTCFullYear();
  theMonth = myDate.getUTCMonth() + 1;
  if(24 < theHours)
    {
      if((theMonth == 1)&&(theDate == 31))
        {
          theMonth++;
          theDate = 1;
          theDay++;
          if(6 < theDay)
            {
              theDay = 0;
            }
        }
      if((theMonth == 2)&&(theDate == 28))
        {
          theMonth++;
          theDate = 1;
          theDay++;
          if(6 < theDay)
            {
              theDay = 0;
            }
        }
      if((theMonth == 3)&&(theDate == 31))
        {
          theMonth++;
          theDate = 1;
          theDay++;
          if(6 < theDay)
            {
              theDay = 0;
            }
        }
      if((theMonth == 4)&&(theDate == 30))
        {
          theMonth++;
          theDate = 1;
          theDay++;
          if(6 < theDay)
            {
              theDay = 0;
            }
        }
      if((theMonth == 5)&&(theDate == 31))
        {
          theMonth++;
          theDate = 1;
          theDay++;
          if(6 < theDay)
            {
              theDay = 0;
            }
        }
      if((theMonth == 6)&&(theDate == 30))
        {
          theMonth++;
          theDate = 1;
          theDay++;
          if(6 < theDay)
            {
              theDay = 0;
            }
        }
      if((theMonth == 7)&&(theDate == 31))
        {
          theMonth++;
          theDate = 1;
          theDay++;
          if(6 < theDay)
            {
              theDay = 0;
            }
        }
      if((theMonth == 8)&&(theDate == 31))
        {
          theMonth++;
          theDate = 1;
          theDay++;
          if(6 < theDay)
            {
              theDay = 0;
            }
        }
      if((theMonth == 9)&&(theDate == 30))
        {
          theMonth++;
          theDate = 1;
          theDay++;
          if(6 < theDay)
            {
              theDay = 0;
            }
        }
      if((theMonth == 10)&&(theDate == 31))
        {
          theMonth++;
          theDate = 1;
          theDay++;
          if(6 < theDay)
            {
              theDay = 0;
            }
        }
      if((theMonth == 11)&&(theDate == 30))
        {
          theMonth++;
          theDate = 1;
          theDay++;
          if(6 < theDay)
            {
              theDay = 0;
            }
        }
      if((theMonth == 12)&&(theDate == 31))
        {
          theFyear++;
          theMonth = 1;
          theDate = 1;
          theDay++;
          if(6 < theDay)
            {
              theDay = 0;
            }
        }
    }
  theDay2 = youbi[theDay];
  document.write(theFyear+"年"+theMonth+"月"+theDate+"日("+theDay2+")");
}

