<?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: Convert 24 hour (military) time to 12 hour (am/pm) time in php</title>
	<atom:link href="http://style-vs-substance.com/programming/convert-24-hour-military-time-to-12-hour-ampm-time-in-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://style-vs-substance.com/programming/convert-24-hour-military-time-to-12-hour-ampm-time-in-php/</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Fri, 20 Jan 2012 21:15:37 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Will Fastie</title>
		<link>http://style-vs-substance.com/programming/convert-24-hour-military-time-to-12-hour-ampm-time-in-php/comment-page-1/#comment-28138</link>
		<dc:creator>Will Fastie</dc:creator>
		<pubDate>Sun, 27 Nov 2011 14:23:04 +0000</pubDate>
		<guid isPermaLink="false">http://style-vs-substance.com/convert-24-hour-military-time-to-12-hour-ampm-time-in-php/2007/10/#comment-28138</guid>
		<description>Thanks! The &quot;over engineering&quot; crack helped clear my head.</description>
		<content:encoded><![CDATA[<p>Thanks! The &#8220;over engineering&#8221; crack helped clear my head.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amy</title>
		<link>http://style-vs-substance.com/programming/convert-24-hour-military-time-to-12-hour-ampm-time-in-php/comment-page-1/#comment-24867</link>
		<dc:creator>Amy</dc:creator>
		<pubDate>Fri, 30 Sep 2011 15:38:43 +0000</pubDate>
		<guid isPermaLink="false">http://style-vs-substance.com/convert-24-hour-military-time-to-12-hour-ampm-time-in-php/2007/10/#comment-24867</guid>
		<description>just what I needed! thank you!</description>
		<content:encoded><![CDATA[<p>just what I needed! thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NateW</title>
		<link>http://style-vs-substance.com/programming/convert-24-hour-military-time-to-12-hour-ampm-time-in-php/comment-page-1/#comment-15698</link>
		<dc:creator>NateW</dc:creator>
		<pubDate>Sat, 30 Apr 2011 17:16:23 +0000</pubDate>
		<guid isPermaLink="false">http://style-vs-substance.com/convert-24-hour-military-time-to-12-hour-ampm-time-in-php/2007/10/#comment-15698</guid>
		<description>Thanks for the tips but it would have been much more useful if you also included what would print at execution of the code...</description>
		<content:encoded><![CDATA[<p>Thanks for the tips but it would have been much more useful if you also included what would print at execution of the code&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremy</title>
		<link>http://style-vs-substance.com/programming/convert-24-hour-military-time-to-12-hour-ampm-time-in-php/comment-page-1/#comment-13067</link>
		<dc:creator>Jeremy</dc:creator>
		<pubDate>Thu, 17 Mar 2011 06:36:53 +0000</pubDate>
		<guid isPermaLink="false">http://style-vs-substance.com/convert-24-hour-military-time-to-12-hour-ampm-time-in-php/2007/10/#comment-13067</guid>
		<description>OMG. thank you. I&#039;ve been stumbling around in the dark for half an hour at least.</description>
		<content:encoded><![CDATA[<p>OMG. thank you. I&#8217;ve been stumbling around in the dark for half an hour at least.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rakesh</title>
		<link>http://style-vs-substance.com/programming/convert-24-hour-military-time-to-12-hour-ampm-time-in-php/comment-page-1/#comment-12404</link>
		<dc:creator>Rakesh</dc:creator>
		<pubDate>Mon, 07 Mar 2011 03:12:04 +0000</pubDate>
		<guid isPermaLink="false">http://style-vs-substance.com/convert-24-hour-military-time-to-12-hour-ampm-time-in-php/2007/10/#comment-12404</guid>
		<description>Thanks dude....</description>
		<content:encoded><![CDATA[<p>Thanks dude&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Johan L. Cerezo</title>
		<link>http://style-vs-substance.com/programming/convert-24-hour-military-time-to-12-hour-ampm-time-in-php/comment-page-1/#comment-7174</link>
		<dc:creator>Johan L. Cerezo</dc:creator>
		<pubDate>Sun, 05 Dec 2010 06:48:38 +0000</pubDate>
		<guid isPermaLink="false">http://style-vs-substance.com/convert-24-hour-military-time-to-12-hour-ampm-time-in-php/2007/10/#comment-7174</guid>
		<description>Thanks Jim! I used php for a long time but this info is a great help for me.</description>
		<content:encoded><![CDATA[<p>Thanks Jim! I used php for a long time but this info is a great help for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: steph jimenez</title>
		<link>http://style-vs-substance.com/programming/convert-24-hour-military-time-to-12-hour-ampm-time-in-php/comment-page-1/#comment-4399</link>
		<dc:creator>steph jimenez</dc:creator>
		<pubDate>Tue, 31 Aug 2010 03:48:05 +0000</pubDate>
		<guid isPermaLink="false">http://style-vs-substance.com/convert-24-hour-military-time-to-12-hour-ampm-time-in-php/2007/10/#comment-4399</guid>
		<description>hi i hope you could help me with my problem..i have a form for time(an have an option value from 1:00,1:30,2:00,2:30,3:00,3:30,...12:30)and also have a select box for choosing am or pm..if i choose for example 1:00(for the time value) and i want to choose &quot;pm&quot;...i dont have problems with &quot;am&quot;,but i encounter problems when i choose &quot;pm&quot;already..

this is the code that we have done:

//for timeDeparture:
if($_REQUEST[&#039;ampm&#039;] == &quot;am&quot;){
$time = $_REQUEST[&#039;timed&#039;];
}else{
$convertTime = date(&quot;H:I&quot;,$convertTime);
$time = $convertTime;
} 

*hope you could help me with this one..thanks</description>
		<content:encoded><![CDATA[<p>hi i hope you could help me with my problem..i have a form for time(an have an option value from 1:00,1:30,2:00,2:30,3:00,3:30,&#8230;12:30)and also have a select box for choosing am or pm..if i choose for example 1:00(for the time value) and i want to choose &#8220;pm&#8221;&#8230;i dont have problems with &#8220;am&#8221;,but i encounter problems when i choose &#8220;pm&#8221;already..</p>
<p>this is the code that we have done:</p>
<p>//for timeDeparture:<br />
if($_REQUEST['ampm'] == &#8220;am&#8221;){<br />
$time = $_REQUEST['timed'];<br />
}else{<br />
$convertTime = date(&#8221;H:I&#8221;,$convertTime);<br />
$time = $convertTime;<br />
} </p>
<p>*hope you could help me with this one..thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim Mayes</title>
		<link>http://style-vs-substance.com/programming/convert-24-hour-military-time-to-12-hour-ampm-time-in-php/comment-page-1/#comment-4243</link>
		<dc:creator>Jim Mayes</dc:creator>
		<pubDate>Sun, 22 Aug 2010 19:03:34 +0000</pubDate>
		<guid isPermaLink="false">http://style-vs-substance.com/convert-24-hour-military-time-to-12-hour-ampm-time-in-php/2007/10/#comment-4243</guid>
		<description>Glad I could do my part. Please spread the word ;)</description>
		<content:encoded><![CDATA[<p>Glad I could do my part. Please spread the word ;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://style-vs-substance.com/programming/convert-24-hour-military-time-to-12-hour-ampm-time-in-php/comment-page-1/#comment-4242</link>
		<dc:creator>John</dc:creator>
		<pubDate>Sun, 22 Aug 2010 18:58:42 +0000</pubDate>
		<guid isPermaLink="false">http://style-vs-substance.com/convert-24-hour-military-time-to-12-hour-ampm-time-in-php/2007/10/#comment-4242</guid>
		<description>Thank you for confirming that Europeans are not humans ;)</description>
		<content:encoded><![CDATA[<p>Thank you for confirming that Europeans are not humans ;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: siraj khan</title>
		<link>http://style-vs-substance.com/programming/convert-24-hour-military-time-to-12-hour-ampm-time-in-php/comment-page-1/#comment-3366</link>
		<dc:creator>siraj khan</dc:creator>
		<pubDate>Thu, 10 Jun 2010 08:47:37 +0000</pubDate>
		<guid isPermaLink="false">http://style-vs-substance.com/convert-24-hour-military-time-to-12-hour-ampm-time-in-php/2007/10/#comment-3366</guid>
		<description>thank u so much!!</description>
		<content:encoded><![CDATA[<p>thank u so much!!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

