1 |
Copyright © 2005-<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" data-wp-preserve="%3Cscript%20type%3D%22text%2Fjavascript%22%3Edocument.write(new%20Date().getFullYear())%3B%3C%2Fscript%3E" data-mce-resize="false" data-mce-placeholder="1" class="mce-object" width="20" height="20" alt="<script>" title="<script>" /> This Company. All rights reserved. |
Show Current Year Using Only Visualforce
While perusing some websites, looking at html code, I saw something interesting: A company had used Javascript to update the copyright date of its website using Javascript. This is the code.
Of course, as a Force.com developer, I prefer to use Visualforce and Apex over Javascript (as it makes the client thinner - thick […]