<span id="ist-dienstag"></span> <script> if (new Date().getDay() == 2) { document.getElementById("ist-dienstag").innerText = "wahr"; } else { document.getElementById("ist-dienstag").innerText = "falsch"; } </script>