situation
|
|
Keep my Copyright label updated.
|
|
problem
|
|
Always Display
the Current Year in your © Copyright Notice in HTML, PHP, ASP and Joomla
|
|
difficulty level
|
|
1/10 :))
|
|
compatibility
|
|
For HTML, PHP, ASP and Joomla
|
|
solution
|
|
HTML
<p>© Copyright 2000- <script language="JavaScript" type="text/javascript"> now = new Date theYear=now.getYear() if (theYear < 1900) theYear=theYear+1900 document.write(theYear) </script> My Company, Inc. All rights reserved. Version 4.01g</p> PHP date("Y") Joomla <div id="footer"> <span class="copy"><?php echo JText::_('My company © 2009-'.date("Y").' |');?> <a href="index.php?option=com_content&view=article&catid=84&id=130&Itemid=464">Privacy Policy</a></span> </div> ASP <h6>© @DateTime.Now.Year - My Company</h6> |
Information technology (it) often FAILS! Let's solve it. Problems and solutions on areas: Adobe's Flex, PHP, Delphi, Visual Studio, Windows, intranet, internet, popular applications, hacks, cheats techniques and much more; so enjoy your fail!!!
Thursday, 16 May 2013
Always Display the Current Year in your © Copyright Notice
Subscribe to:
Posts (Atom)