// script web-toolbox.net
function WriteDate(){

  var DateTimeNow = new Date();
  var the_day = DateTimeNow.getDate();
  var the_wday = DateTimeNow.getDay()+1;
  var the_month = DateTimeNow.getMonth()+1;
  var the_year = DateTimeNow.getFullYear();

  if (the_wday == 1){day = "Zondag"};
  if (the_wday == 2){day = "Maandag"};
  if (the_wday == 3){day = "Dinsdag"};
  if (the_wday == 4){day = "Woensdag"};
  if (the_wday == 5){day = "Donderdag"};
  if (the_wday == 6){day = "Vrijdag"};
  if (the_wday == 7){day = "Zaterdag"};

  if (the_month == 1){athe_month = "januari"};
  if (the_month == 2){athe_month = "februari"};
  if (the_month == 3){athe_month = "maart"};
  if (the_month == 4){athe_month = "april"};
  if (the_month == 5){athe_month = "mei"};
  if (the_month == 6){athe_month = "juni"};
  if (the_month == 7){athe_month = "juli"};
  if (the_month == 8){athe_month = "augustus"};
  if (the_month == 9){athe_month = "september"};
  if (the_month == 10){athe_month = "oktober"};
  if (the_month == 11){athe_month = "november"};
  if (the_month == 12){athe_month = "december"};

CurrentDate = day + ' ' + the_day + ' ' + athe_month + ' ' + the_year;

document.getElementById("DateOfToday").value = CurrentDate;
}

setTimeout('WriteDate()',1000);
