🚩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: https://www.facebook.com/wixideas
Facebook Community Group: https://www.facebook.com/groups/wixideas
Instagram: https://www.instagram.com/wixideas/
Website: https://www.wixideas.com/
YouTube Channel: https://www.youtube.com/@wixideas