4 ms·
Depends on the language you're using. ColdFusion, a language I spend too much time using, would just require putting #year(now())# within a cfOutput tag.
by Semiapies 17y ago
Depends on the language you're using. ColdFusion, a language I spend too much time using, would just require putting
#year(now())#
within a cfOutput tag.
- Mz 17y agoMy websites are currently (X)html, CSS and a smattering of Javascript. I have no knowledge of ColdFusion. But thank you for replying.
- Semiapies 17y agoSure. In jQuery, something like this would work, if you have a span in your footer with the id "copyright": $(function () { var today = new Date(); Q("#copyright").text(today.getFullYear()); });