MORE TUTORIALS https://www.wixideas.com/tutorials
Please Subscribe, Like, & Share
YouTube
This tutorial will show you how to automatically or dynamically update your copyright year using velo by WIX.
Code
$w.onReady(() => {
let currentYear = new Date().getFullYear();
//BUTTON ELEMENT
$w("#copyrightButton").label = `(c) 2021 - ${currentYear}. BUSINESS NAME.`;
//TEXT ELEMENT
$w("#copyrightText").text = `(c) 2021 - ${currentYear}. BUSINESS NAME.`;
});
Please Subscribe, Like, & Share
YouTube
#copyrightyear #autoupdatecopyrightyear #dynamiccopyrightyear
Facebook Page: WIX Ideas
Facebook Community Group: Wix Ideas Community | Facebook
Instagram: Wix Ideas (@wixideas) • Instagram photos and videos
Website: https://www.wixideas.com/
YouTube Channel: https://www.youtube.com/@wixideas