<?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>PHP Tutorials Code Snippets and Php Tips &#187; php date</title>
	<atom:link href="http://readytousesolutions.com/phpblog/tag/php-date/feed/" rel="self" type="application/rss+xml" />
	<link>http://readytousesolutions.com/phpblog</link>
	<description>PHP tutorials - Examples of the most useful scripts</description>
	<lastBuildDate>Thu, 23 Sep 2010 06:54:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>PHP Tutorial : Special Date Script</title>
		<link>http://readytousesolutions.com/phpblog/php-tutorial-special-date-script/</link>
		<comments>http://readytousesolutions.com/phpblog/php-tutorial-special-date-script/#comments</comments>
		<pubDate>Wed, 31 Dec 2008 15:18:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Usefull PHP]]></category>
		<category><![CDATA[date]]></category>
		<category><![CDATA[happy new year]]></category>
		<category><![CDATA[php date]]></category>

		<guid isPermaLink="false">http://www.crivionweb.com/phpblog/?p=66</guid>
		<description><![CDATA[Today is the last day of the year 2008 and I will write a script to show your visitors a &#8220;happy new year&#8221; message automatically on tomorrow if you cannot manually add it in that day because of the traveling &#8230; <a href="http://readytousesolutions.com/phpblog/php-tutorial-special-date-script/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Today is the last day of the year 2008 and I will write a script to show your visitors a &#8220;happy new year&#8221; message automatically on tomorrow if you cannot manually add it in that day because of the traveling and other reasons.</p>
<pre class="php">
<span class="phpOperator">&lt;</span><span class="phpOperator">?</span>php
$day <span class="phpOperator">=</span> <span class="phpFunction">date</span><span class="phpOperator">(</span><span class="phpString">"d"</span><span class="phpOperator">)</span><span class="phpText">;</span>
$month <span class="phpOperator">=</span> <span class="phpFunction">date</span><span class="phpOperator">(</span><span class="phpString">"m"</span><span class="phpOperator">)</span><span class="phpText">;</span>
<span class="phpKeyword">
if<span class="phpOperator">(</span></span>$day <span class="phpOperator"><span class="phpOperator">=</span>=</span> <span class="phpString">"01"</span> &#038;amp<span class="phpText">;</span>&#038;amp<span class="phpText">;</span> $month <span class="phpOperator"><span class="phpOperator">=</span>=</span> <span class="phpString">"01"</span><span class="phpOperator">)</span>  <span class="phpOperator">{</span>
print <span class="phpString">"Happy<span class="phpKeyword"> new </span>year"</span><span class="phpText">;</span>
<span class="phpOperator">}</span>
<span class="phpOperator">?</span>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://readytousesolutions.com/phpblog/php-tutorial-special-date-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

