<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Tommy Brophy</title>
	<atom:link href="http://www.tommybrophy.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tommybrophy.com</link>
	<description>Web Design Kilkenny  &#124; Freelance Web Designer Kilkenny, Carlow, Tipperary, Cork, Waterford</description>
	<lastBuildDate>Tue, 13 Jul 2010 17:05:54 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Automatic Copyright Footer Dates</title>
		<link>http://www.tommybrophy.com/automatic_copyright_footer_dates/</link>
		<comments>http://www.tommybrophy.com/automatic_copyright_footer_dates/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 21:11:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://www.tommybrophy.com/?p=1</guid>
		<description><![CDATA[To save the effort of having to update all the copyright dates in your website footers each year the following code can be used in your footer.
PHP:

&#60;?php echo date('Y'); ?&#62;

ASP

&#60; %response.write(&#34;Copyright 2010- &#34;&#38;Year(Date))%&#62;

ASP.NET (C#)

&#60; %Response.Write(System.DateTime.Now.Year.ToString());%&#62;

JavaScript

&#60;script type=&#34;text/javascript&#34;&#62;
&#60;!-- copyright=new Date();
update=copyright.getYear();
document.write
(&#34;Copyright © 2010-&#34;+ update + &#34; (Tommy Brophy) All rights Reserved.&#34;);
 //--&#62;&#60;/script&#62;

]]></description>
			<content:encoded><![CDATA[<p>To save the effort of having to update all the copyright dates in your website footers each year the following code can be used in your footer.</p>
<p>PHP:</p>

<div class="wp_syntax"><div class="code"><pre class="language" style="font-family:monospace;">&lt;?php echo date('Y'); ?&gt;</pre></div></div>

<p>ASP</p>

<div class="wp_syntax"><div class="code"><pre class="language" style="font-family:monospace;">&lt; %response.write(&quot;Copyright 2010- &quot;&amp;Year(Date))%&gt;</pre></div></div>

<p>ASP.NET (C#)</p>

<div class="wp_syntax"><div class="code"><pre class="language" style="font-family:monospace;">&lt; %Response.Write(System.DateTime.Now.Year.ToString());%&gt;</pre></div></div>

<p>JavaScript</p>

<div class="wp_syntax"><div class="code"><pre class="language" style="font-family:monospace;">&lt;script type=&quot;text/javascript&quot;&gt;
&lt;!-- copyright=new Date();
update=copyright.getYear();
document.write
(&quot;Copyright © 2010-&quot;+ update + &quot; (Tommy Brophy) All rights Reserved.&quot;);
 //--&gt;&lt;/script&gt;</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.tommybrophy.com/automatic_copyright_footer_dates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
