<?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: JavaScript Date Format</title>
	<atom:link href="http://blog.stevenlevithan.com/archives/date-time-format/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.stevenlevithan.com/archives/date-time-format</link>
	<description>A JavaScript and regular expression centric blog</description>
	<lastBuildDate>Sat, 13 Mar 2010 15:18:59 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: diego</title>
		<link>http://blog.stevenlevithan.com/archives/date-time-format/comment-page-3#comment-48073</link>
		<dc:creator>diego</dc:creator>
		<pubDate>Mon, 22 Feb 2010 14:28:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stevenlevithan.com/javascript/date-format/#comment-48073</guid>
		<description>I wonder how do I go from 12 hours format to 24 hour format

eg 10:00 AM  to make this 10:00:00

thanks</description>
		<content:encoded><![CDATA[<p>I wonder how do I go from 12 hours format to 24 hour format</p>
<p>eg 10:00 AM  to make this 10:00:00</p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steven Levithan</title>
		<link>http://blog.stevenlevithan.com/archives/date-time-format/comment-page-3#comment-47840</link>
		<dc:creator>Steven Levithan</dc:creator>
		<pubDate>Wed, 17 Feb 2010 06:55:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stevenlevithan.com/javascript/date-format/#comment-47840</guid>
		<description>@flocsy, thanks for sharing that.

@James, to add support for quarters (digit 1&#8211;4, via the mask &lt;code&gt;Q&lt;/code&gt;), change the &lt;code&gt;[LloSZ]&lt;/code&gt; character class in the &lt;code&gt;token&lt;/code&gt; regex to &lt;code&gt;[LloSZQ]&lt;/code&gt;, and add &lt;code&gt;Q: Math.ceil((m + 1) / 3)&lt;/code&gt; to the &lt;code&gt;flags&lt;/code&gt; object.

After that, you should be able to use something like &lt;code&gt;dateFormat(&quot;&#039;Q&#039;Q - yyyy&quot;)&lt;/code&gt; or &lt;code&gt;dateFormat(&quot;&#039;Quarter&#039; Q - yyyy&quot;)&lt;/code&gt;.</description>
		<content:encoded><![CDATA[<p>@flocsy, thanks for sharing that.</p>
<p>@James, to add support for quarters (digit 1&ndash;4, via the mask <code>Q</code>), change the <code>[LloSZ]</code> character class in the <code>token</code> regex to <code>[LloSZQ]</code>, and add <code>Q: Math.ceil((m + 1) / 3)</code> to the <code>flags</code> object.</p>
<p>After that, you should be able to use something like <code>dateFormat("'Q'Q - yyyy")</code> or <code>dateFormat("'Quarter' Q - yyyy")</code>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James</title>
		<link>http://blog.stevenlevithan.com/archives/date-time-format/comment-page-3#comment-47819</link>
		<dc:creator>James</dc:creator>
		<pubDate>Tue, 16 Feb 2010 21:15:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stevenlevithan.com/javascript/date-format/#comment-47819</guid>
		<description>Awesome code - thank you!

How can I modify to include the Quarter (i.e. Q1 = Jan, Feb and Mar, Q2 = Apr, May, Jun, etc).

I want to be able to do a format mask to show Q1 - 2009, Q2 - 2009, etc or the long way: Quarter 1 - 2009, Quarter 2 - 2009, etc.

Please help.</description>
		<content:encoded><![CDATA[<p>Awesome code &#8211; thank you!</p>
<p>How can I modify to include the Quarter (i.e. Q1 = Jan, Feb and Mar, Q2 = Apr, May, Jun, etc).</p>
<p>I want to be able to do a format mask to show Q1 &#8211; 2009, Q2 &#8211; 2009, etc or the long way: Quarter 1 &#8211; 2009, Quarter 2 &#8211; 2009, etc.</p>
<p>Please help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Darkstranger</title>
		<link>http://blog.stevenlevithan.com/archives/date-time-format/comment-page-3#comment-46613</link>
		<dc:creator>Darkstranger</dc:creator>
		<pubDate>Thu, 28 Jan 2010 03:49:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stevenlevithan.com/javascript/date-format/#comment-46613</guid>
		<description>how can i used it
onblur=dateFormat(this,shortdate,utc) ?</description>
		<content:encoded><![CDATA[<p>how can i used it<br />
onblur=dateFormat(this,shortdate,utc) ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: flocsy</title>
		<link>http://blog.stevenlevithan.com/archives/date-time-format/comment-page-3#comment-46585</link>
		<dc:creator>flocsy</dc:creator>
		<pubDate>Wed, 27 Jan 2010 02:47:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stevenlevithan.com/javascript/date-format/#comment-46585</guid>
		<description>I&#039;ve created a Hungarian and a Hebrew translation. You can see them here: 
http://flocsy.pastebin.com/f1118fe0f
http://flocsy.pastebin.com/f166e911a</description>
		<content:encoded><![CDATA[<p>I&#8217;ve created a Hungarian and a Hebrew translation. You can see them here:<br />
<a href="http://flocsy.pastebin.com/f1118fe0f" rel="nofollow">http://flocsy.pastebin.com/f1118fe0f</a><br />
<a href="http://flocsy.pastebin.com/f166e911a" rel="nofollow">http://flocsy.pastebin.com/f166e911a</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
