Can someone tell me how to add 46-days to the HTML under that shows the current date?
So instead of 9 Jan 2025 (today) its should show 24 Feb 2025. Many thanks in advace? I'm just a beginner at coding.
<SCRIPT TYPE="text/javascript" LANGUAGE="JavaScript">
<!--
function initArray() {
this.length = initArray.arguments.length;
for (var i = 0; i < this.length; i++)
this[i+1] = initArray.arguments;
}
var dagArray = new initArray("zondag","maandag", "dinsdag","woensdag","donderdag","vrijdag","zaterdag");
var maandArray = new initArray("januari","februari","maart","april","mei","juni","juli", "augustus","september","oktober","november","december");
var nu = new Date();
var dagtekst = dagArray[(nu.getDay()+1)];
var dag = nu.getDate();
var maandtekst = maandArray[(nu.getMonth()+1)];
var jaar = nu.getYear();
var jaar4 = ((jaar < 1900) ? (jaar + 1900) : (jaar));
var datumweergave = "Eerste mogelijkheid ná: " + dagtekst + " " + dag + " " + maandtekst + " " + jaar4;
document.write(datumweergave);
//-->
</SCRIPT>
So instead of 9 Jan 2025 (today) its should show 24 Feb 2025. Many thanks in advace? I'm just a beginner at coding.
<SCRIPT TYPE="text/javascript" LANGUAGE="JavaScript">
<!--
function initArray() {
this.length = initArray.arguments.length;
for (var i = 0; i < this.length; i++)
this[i+1] = initArray.arguments;
}
var dagArray = new initArray("zondag","maandag", "dinsdag","woensdag","donderdag","vrijdag","zaterdag");
var maandArray = new initArray("januari","februari","maart","april","mei","juni","juli", "augustus","september","oktober","november","december");
var nu = new Date();
var dagtekst = dagArray[(nu.getDay()+1)];
var dag = nu.getDate();
var maandtekst = maandArray[(nu.getMonth()+1)];
var jaar = nu.getYear();
var jaar4 = ((jaar < 1900) ? (jaar + 1900) : (jaar));
var datumweergave = "Eerste mogelijkheid ná: " + dagtekst + " " + dag + " " + maandtekst + " " + jaar4;
document.write(datumweergave);
//-->
</SCRIPT>