I am looking for an equivalent PHP function to accomplish what document.write(new Date().getFullYear() is expected to do. This function is to be used in place of deprecated document.write(new Date().getFullYear()) in the footer section that you see in Magento Admin where HTML code can be placed for the footer text. Any advice or help greatly appreciated.Below is what I thought should have worked out.
<div class="page-container footer-toolbar footer-toolbar-bottom"><div class="content"><small class="copyright">
<span><center>COPYRIGHT © 2013-<?= date("Y"); ?> mymagentosite.COM. ALL RIGHTS RESERVED.</center></span>
</small>
<?php echo date('d/m/yy');?>