KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: 4DVAR HTML Tags: A Quick way to update your Copyright footer
PRODUCT: 4D | VERSION: 11.5 | PLATFORM: Mac & Win
Published On: December 3, 2009

As a web developer you may find yourself struggling to update all of your web pages each January (or maybe each December) to include the new year in your copyright footer. If you are using 4D HTML Tags you can quickly and easily do this with the following HTML snippet:

<html>
<head>
<title>4D Footer Test</title>
</head>
<body>
Copyright &copy; 1985 - <!--#4DVAR Year of(Current date) -->
</body>
</html>


This will produce a footer that looks like:

Copyright © 1985 - 2024