Update copyright year in Portal

54
0
01-28-2020 08:44 AM
AliciaShyu
New Contributor III

Under "Terms of Use" for a service, feature, etc in portal, I need to update the copyright range (e.i.: Copyright 2011 - 2020 All rights reserved), is there a way to update "2020" automatically every year.

I've tried 

<p> Copyright &copy; 2014-<script>document.write(new Date().getFullYear())</script> All Rights Reserved</p>

and it didn't work.

I also tried

Copyright 2011 - <dyn type="date" format="yyyy"/> All rights reserved.

0 Kudos
0 Replies