<?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"
	>
<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>
	<pubDate>Mon, 13 Oct 2008 18:08:14 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: kadyellebee</title>
		<link>http://www.scriptygoddess.com/archives/2002/09/15/display-specific-words-on-days/#comment-8126</link>
		<dc:creator>kadyellebee</dc:creator>
		<pubDate>Tue, 30 Nov 1999 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'd been quiet today, I realized I kinda was quiet!! I'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-8125</link>
		<dc:creator>MT Plugin Directory</dc:creator>
		<pubDate>Tue, 30 Nov 1999 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-8122</link>
		<dc:creator>medic119</dc:creator>
		<pubDate>Tue, 30 Nov 1999 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-8123</link>
		<dc:creator>Shelagh</dc:creator>
		<pubDate>Tue, 30 Nov 1999 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'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-8124</link>
		<dc:creator>kristine</dc:creator>
		<pubDate>Tue, 30 Nov 1999 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'm on the west coast, so I had to subtract 3 hours to make it absolutely correct  :)
Here's how mine looks now - you should be able to adjust it similarly :)
&lt;h3&gt;&#60;? 
$today = date("m.d.Y", strtotime("-3 hours"));
$yesterday = date("m.d.Y", strtotime("-1 day - 3 hours"));
$mtdate = "&#60;$MTEntryDate format="%m.%d.%Y"$&#62;";

if ($mtdate==$today) {
echo "Today";
}
elseif ($mtdate==$yesterday) {
echo "Yesterday"; 
}
else {
echo("&#60;$MTEntryDate format="%A"$&#62;");
}
?&#62;&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 - 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' /> Here&#039;s how mine looks now - 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' /><br />
<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 - 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-8121</link>
		<dc:creator>Jennifer</dc:creator>
		<pubDate>Tue, 30 Nov 1999 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-8119</link>
		<dc:creator>Michael Pate</dc:creator>
		<pubDate>Tue, 30 Nov 1999 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-8120</link>
		<dc:creator>Nate</dc:creator>
		<pubDate>Tue, 30 Nov 1999 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'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.722 seconds -->
