I want to show the current year on my website. (For the copyright logo, I don't want to remember to update it yearly)
I followed the instructions on https://support.wix.com/en/article/how-to-display-todays-date-on-your-site and I'm able to show the current date.
How to change the code so I get the year in stead of the current date?
Sorry for this newbie question, it must be something small with the data type, but I can't fix it.
I tried, $w("#dateText").text = today.getFullYear(); but that returns an error that 2018 is not of the type string.
Thanks for the assistance