• Resolved nav4339

    (@nav4339)


    I’m trying to include a copyright and a year at the bottom of my emails that I’m hoping will automatically update yearly. Is there any code I can use to make that happen?

    I’ve tried the one I use on my website, but they do not work:
    1. <?php echo date(“Y”); ?>

    2. <?= date(“Y”) ?>

    3.<span id=”year”></span></p> <script> document.getElementById(“year”).innerHTML = new Date().getFullYear(); </script>

    4. {year} and ?{current_year} i

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Automatically update year in email footer’ is closed to new replies.