Dynamic Copyright Year



I would like the Copyright year (© 2019) to update automatically, so I dont have to manually update every footer every year. Seems Unbounce does not have this natively.


Try this!

Paste this into an HTML block on your landing page.

<script type="text/javascript">
  document.write(new Date().getFullYear());

&copy; <?php
  $fromYear = 2018; 
  $thisYear = (int)date('Y'); 
  echo $fromYear . (($fromYear != $thisYear) ? '-' . $thisYear : '');?> Company.

Have a nice day


This is sweet! Saved :wink: