<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Display specific words on days</title>
	<atom:link href="http://www.scriptygoddess.com/archives/2002/09/15/display-specific-words-on-days/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.scriptygoddess.com/archives/2002/09/15/display-specific-words-on-days/</link>
	<description></description>
	<lastBuildDate>Tue, 16 Mar 2010 19:26:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: kadyellebee</title>
		<link>http://www.scriptygoddess.com/archives/2002/09/15/display-specific-words-on-days/comment-page-1/#comment-8126</link>
		<dc:creator>kadyellebee</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2002/09/15/display-specific-words-on-days/#comment-8126</guid>
		<description>&lt;trackback /&gt;&lt;strong&gt;slow day!&lt;/strong&gt;
So since :gg: was wondering why I&#039;d been quiet today, I realized I kinda was quiet!! I&#039;ve been playing a
</description>
		<content:encoded><![CDATA[<trackback /><strong>slow day!</strong><br />
So since :gg: was wondering why I&#039;d been quiet today, I realized I kinda was quiet!! I&#039;ve been playing a</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MT Plugin Directory</title>
		<link>http://www.scriptygoddess.com/archives/2002/09/15/display-specific-words-on-days/comment-page-1/#comment-8125</link>
		<dc:creator>MT Plugin Directory</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2002/09/15/display-specific-words-on-days/#comment-8125</guid>
		<description>&lt;trackback /&gt;&lt;strong&gt;Relative Date&lt;/strong&gt;
Plugin version of my Scripts: Display specific words on days at ScriptyGoddess.</description>
		<content:encoded><![CDATA[<trackback /><strong>Relative Date</strong><br />
Plugin version of my Scripts: Display specific words on days at ScriptyGoddess.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: medic119</title>
		<link>http://www.scriptygoddess.com/archives/2002/09/15/display-specific-words-on-days/comment-page-1/#comment-8122</link>
		<dc:creator>medic119</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2002/09/15/display-specific-words-on-days/#comment-8122</guid>
		<description>cool script.
Is there aneasy way to do this in Javascript as well??</description>
		<content:encoded><![CDATA[<p>cool script.<br />
Is there aneasy way to do this in Javascript as well??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shelagh</title>
		<link>http://www.scriptygoddess.com/archives/2002/09/15/display-specific-words-on-days/comment-page-1/#comment-8123</link>
		<dc:creator>Shelagh</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2002/09/15/display-specific-words-on-days/#comment-8123</guid>
		<description>Does this work if your server is in a different time zone?  My blog is set to +0 as I&#039;m in the UK, but the server my site is on is in the US running om Singapore time!</description>
		<content:encoded><![CDATA[<p>Does this work if your server is in a different time zone?  My blog is set to +0 as I&#039;m in the UK, but the server my site is on is in the US running om Singapore time!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kristine</title>
		<link>http://www.scriptygoddess.com/archives/2002/09/15/display-specific-words-on-days/comment-page-1/#comment-8124</link>
		<dc:creator>kristine</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2002/09/15/display-specific-words-on-days/#comment-8124</guid>
		<description>I actually made a change once I found out what timezone my server was in - its located on the east coast and I&#039;m on the west coast, so I had to subtract 3 hours to make it absolutely correct  :)
Here&#039;s how mine looks now - you should be able to adjust it similarly :)
&lt;h3&gt;&lt;? 
$today = date(&quot;m.d.Y&quot;, strtotime(&quot;-3 hours&quot;));
$yesterday = date(&quot;m.d.Y&quot;, strtotime(&quot;-1 day - 3 hours&quot;));
$mtdate = &quot;&lt;$MTEntryDate format=&quot;%m.%d.%Y&quot;$&gt;&quot;;

if ($mtdate==$today) {
echo &quot;Today&quot;;
}
elseif ($mtdate==$yesterday) {
echo &quot;Yesterday&quot;; 
}
else {
echo(&quot;&lt;$MTEntryDate format=&quot;%A&quot;$&gt;&quot;);
}
?&gt;&lt;/h3&gt;
Hope that helps!</description>
		<content:encoded><![CDATA[<p>I actually made a change once I found out what timezone my server was in &#8211; its located on the east coast and I&#039;m on the west coast, so I had to subtract 3 hours to make it absolutely correct  <img src='http://www.scriptygoddess.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Here&#039;s how mine looks now &#8211; you should be able to adjust it similarly <img src='http://www.scriptygoddess.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<h3>&lt;?<br />
$today = date(&#034;m.d.Y&#034;, strtotime(&#034;-3 hours&#034;));<br />
$yesterday = date(&#034;m.d.Y&#034;, strtotime(&#034;-1 day &#8211; 3 hours&#034;));<br />
$mtdate = &#034;&lt;$MTEntryDate format=&#034;%m.%d.%Y&#034;$&gt;&#034;;</p>
<p>if ($mtdate==$today) {<br />
echo &#034;Today&#034;;<br />
}<br />
elseif ($mtdate==$yesterday) {<br />
echo &#034;Yesterday&#034;;<br />
}<br />
else {<br />
echo(&#034;&lt;$MTEntryDate format=&#034;%A&#034;$&gt;&#034;);<br />
}<br />
?&gt;</h3>
<p>Hope that helps!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jennifer</title>
		<link>http://www.scriptygoddess.com/archives/2002/09/15/display-specific-words-on-days/comment-page-1/#comment-8121</link>
		<dc:creator>Jennifer</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2002/09/15/display-specific-words-on-days/#comment-8121</guid>
		<description>neat little script! Great job! :)</description>
		<content:encoded><![CDATA[<p>neat little script! Great job! <img src='http://www.scriptygoddess.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Pate</title>
		<link>http://www.scriptygoddess.com/archives/2002/09/15/display-specific-words-on-days/comment-page-1/#comment-8119</link>
		<dc:creator>Michael Pate</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2002/09/15/display-specific-words-on-days/#comment-8119</guid>
		<description>The funny things is, I went by your site last night and was wondering how that very function worked. I wake up this morning and find the answer.</description>
		<content:encoded><![CDATA[<p>The funny things is, I went by your site last night and was wondering how that very function worked. I wake up this morning and find the answer.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nate</title>
		<link>http://www.scriptygoddess.com/archives/2002/09/15/display-specific-words-on-days/comment-page-1/#comment-8120</link>
		<dc:creator>Nate</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2002/09/15/display-specific-words-on-days/#comment-8120</guid>
		<description>That&#039;s a handy script!  Perhaps some variations of this would be useful as well, such as tying in the date with a javascript funtion which indicates how many hours ago (if today) else how many days ago.  Not that I know how to do that&lt;br&gt; Thanks for posting this  :-)&lt;/br&gt;</description>
		<content:encoded><![CDATA[<p>That&#039;s a handy script!  Perhaps some variations of this would be useful as well, such as tying in the date with a javascript funtion which indicates how many hours ago (if today) else how many days ago.  Not that I know how to do that<br /> Thanks for posting this  <img src='http://www.scriptygoddess.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.315 seconds -->
