jQuery(function() {
  dateTimeFormat = function() {
    var now = new Date();
    var hour = now.getHours();
    var min = now.getMinutes();
    var sec = now.getSeconds();

    if (sec <= 9) {
      sec = '0' + sec;
    };

    if (min <= 9) {
      min = '0' + min;
    };
    
    var months = ['januari', 'februari', 'maart', 'april', 'mei', 'juni', 'juli', 'augustus', 'september', 'oktober', 'november', 'december'];

    var date = now.getDate();
    var month = now.getMonth();

    $('#datetime').html(date + ' ' + months[month] + '<br />' + hour + ':' + min + ':' + sec);
  };
  setInterval(function () {
      dateTimeFormat();
  }, 1000);
  dateTimeFormat();
})
