current-year) inside your footer text block. new Date().getFullYear().To dynamically display the current year in your Webflow site’s footer, you’ll need to use a small JavaScript snippet embedded via the Embed element.
current-year.
Example:
Type into the Text Block:
© <span id="current-year"></span> Your Company
</body> tag if possible).
<script>document.getElementById("current-year").textContent = new Date().getFullYear();</script>
Insert a span with an ID (e.g., current-year) in your footer text. Then use a JavaScript snippet inside an Embed element to dynamically insert the current year using new Date().getFullYear().