<?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>PC CyberTek &#187; WordPress</title>
	<atom:link href="http://www.pccybertek.com/tag/wordpress/feed" rel="self" type="application/rss+xml" />
	<link>http://www.pccybertek.com</link>
	<description>The cyberspace visitor's information center</description>
	<lastBuildDate>Wed, 12 May 2010 21:57:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Fix or Change the Post Date Format in WordPress</title>
		<link>http://www.pccybertek.com/2010/01/fixing-the-post-date-format-in-wordpress</link>
		<comments>http://www.pccybertek.com/2010/01/fixing-the-post-date-format-in-wordpress#comments</comments>
		<pubDate>Thu, 21 Jan 2010 23:09:39 +0000</pubDate>
		<dc:creator>chris</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://www.pccybertek.com/?p=330</guid>
		<description><![CDATA[For quite sometime, the post date format has not bee what I wanted. It was displaying day-month-year ( 21-1-10). This was confusing some of my readers. I tried to change it in the WordPress dashboard under Settings, but it never made a difference. I searched for a solution and found several people had the same [...]]]></description>
			<content:encoded><![CDATA[<p>For quite sometime, the post date format has not bee what I wanted. It was displaying day-month-year ( 21-1-10). This was confusing some of my readers. I tried to change it in the WordPress dashboard under Settings, but it never made a difference. I searched for a solution and found several people had the same problem but no one actually had a good answer. However, one of the posts refered me to <strong><a href="http://codex.wordpress.org/Formatting_Date_and_Time">Customizing the Time and Date</a> <span style="font-weight: normal; font-size: 13px;">and while this was just the formatting of the date and time, it did give me a clue of what to look for.</span></strong></p>
<blockquote><p>WordPress is written in the programming language PHP. The date formatting functions in WordPress use PHP&#8217;s built-in date formatting functions. You can use the table of date format characters on the PHP website as a reference for building date format strings for use in WordPress.</p></blockquote>
<p>Armed with this information, I went to my WordPress dashboard and clicked on Appearance and then Editor. Then I started going through the Template Theme files. Sure enough, I found <em><span style="color: #ffff00;">&lt;?php the_time(&#8216;D, m-d-Y&#8217;)</span></em> in the Main Index Template (index.php) file. So I went back to the Format  page to see what options I had and decided on the<em> day, month-date-year</em> for my format. So I changed <span style="color: #ffff00;">&lt;?php the_time(&#8216;D, m-d-Y&#8217;)</span><span style="color: #ffff00;"> </span>to <span style="color: #ffff00;">&lt;?php the_time(&#8216;D, m-d-Y&#8217;)</span> and then clicked on update. And as you can see, the dates of my posts, on the main page, now have the post date formatted the way I wanted.</p>
<p>The other place you can change the time and date format is in Single Post (single.php) which I did a little different that my main page. I decided to go with l, F jS, Y which will look like: Friday, January 22nd, 2010</p>
<p>UPDATE: I found a couple other places that needed to be changed in my theme. So here is a list of the files that I could change my date format in.</p>
<p>Archives (archive.php)</p>
<p>Comments (comment.php)</p>
<p>Main Index Template (index.php)</p>
<p>Single Post (single.php)</p>
<p>Hope this helps. If you have any questions, leave me a comment and I will try to help.</p>
<!-- AdSense Now! V1.77 -->
<!-- Post[count: 2] -->
<div class="adsense adsense-leadout" style="float:right;margin: 12px;"><script type="text/javascript"><!--
google_ad_client = "pub-8003034946906995";
/* Cybertek Post Gray 180x150 */
google_ad_slot = "3953975798";
google_ad_width = 180;
google_ad_height = 150;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>]]></content:encoded>
			<wfw:commentRss>http://www.pccybertek.com/2010/01/fixing-the-post-date-format-in-wordpress/feed</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
	<img style='margin:0;padding:0;border:0;' width='1px' height='1px' src="http://pccybertek.moesarts.com/wp-content/plugins/mystat/mystat.php?act=time_load&id=179352&rnd=710919135" /></channel>
</rss>
