<?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: Date Format 1.1</title>
	<atom:link href="http://blog.stevenlevithan.com/archives/date-format-1-0/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.stevenlevithan.com/archives/date-format-1-0</link>
	<description>A JavaScript and regular expression centric blog</description>
	<lastBuildDate>Sun, 14 Mar 2010 10:59:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Steve</title>
		<link>http://blog.stevenlevithan.com/archives/date-format-1-0/comment-page-1#comment-9862</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Tue, 18 Dec 2007 21:36:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stevenlevithan.com/archives/date-format-1-0#comment-9862</guid>
		<description>@Jules, of course a literal &quot;Z&quot; in an ISO 8601-formatted time does not indicate a US timezone. It indicates that UTC time is being used. It would not be right to append a literal &quot;Z&quot; unless the &lt;code&gt;dateFormat&lt;/code&gt; function knew it was working with a UTC-based date object.

&lt;em&gt;Edit:&lt;/em&gt; &lt;a href=&quot;./date-time-format&quot; rel=&quot;nofollow&quot;&gt;Date Format 1.2&lt;/a&gt; supports conversion to UTC time.</description>
		<content:encoded><![CDATA[<p>@Jules, of course a literal &#8220;Z&#8221; in an ISO 8601-formatted time does not indicate a US timezone. It indicates that UTC time is being used. It would not be right to append a literal &#8220;Z&#8221; unless the <code>dateFormat</code> function knew it was working with a UTC-based date object.</p>
<p><em>Edit:</em> <a href="./date-time-format" rel="nofollow">Date Format 1.2</a> supports conversion to UTC time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jules</title>
		<link>http://blog.stevenlevithan.com/archives/date-format-1-0/comment-page-1#comment-9861</link>
		<dc:creator>Jules</dc:creator>
		<pubDate>Tue, 18 Dec 2007 21:23:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stevenlevithan.com/archives/date-format-1-0#comment-9861</guid>
		<description>It still isn&#039;t a &quot;US timezone abbreviation&quot;, as stated it indicates a +0000 time offset, this is an offset from UTC and will always be several hours out from any US timezone. Zulu time was originally a military designation AFAIK.</description>
		<content:encoded><![CDATA[<p>It still isn&#8217;t a &#8220;US timezone abbreviation&#8221;, as stated it indicates a +0000 time offset, this is an offset from UTC and will always be several hours out from any US timezone. Zulu time was originally a military designation AFAIK.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blog.stevenlevithan.com/archives/date-format-1-0/comment-page-1#comment-7213</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Mon, 12 Nov 2007 22:05:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stevenlevithan.com/archives/date-format-1-0#comment-7213</guid>
		<description>Not exactly. ISO 8601 (which covers the representation of dates and times, not formatting masks) uses a literal &quot;Z&quot; at the end of a time string to indicate that the time uses UTC/GMT/Zulu time. I.e., it&#039;s the same as adding &quot;+0000&quot;. Using Date Format, you can add a literal Z to the end of a formatted string by wrapping it in quotes (see details in the &lt;a href=&quot;/archives/date-time-format&quot; rel=&quot;nofollow&quot;&gt;Date Format documentation&lt;/a&gt;). According to ISO 8601, if you don&#039;t include a literal Z, the timezone is assumed to be the local time unless you alternatively specify the UTC offset (which you can easily do using Date Format&#039;s &quot;o&quot; flag or the named mask &quot;isoFullDateTime&quot;). The JavaScript &lt;code&gt;Date&lt;/code&gt; and &lt;code&gt;Date.prototype&lt;/code&gt; objects include a number of methods for working with date objects using UTC rather than local time.

The use of &quot;Z&quot; as a flag to indicate that the timezone abbreviation should be embedded in the formatted string comes from the C and POSIX standards for formatting time (see the &lt;a href=&quot;http://www.opengroup.org/onlinepubs/009695399/utilities/date.html&quot; rel=&quot;nofollow&quot;&gt;date&lt;/a&gt; utility and &lt;a href=&quot;http://www.opengroup.org/onlinepubs/009695399/functions/strftime.html&quot; rel=&quot;nofollow&quot;&gt;strftime&lt;/a&gt; function).</description>
		<content:encoded><![CDATA[<p>Not exactly. ISO 8601 (which covers the representation of dates and times, not formatting masks) uses a literal &#8220;Z&#8221; at the end of a time string to indicate that the time uses UTC/GMT/Zulu time. I.e., it&#8217;s the same as adding &#8220;+0000&#8243;. Using Date Format, you can add a literal Z to the end of a formatted string by wrapping it in quotes (see details in the <a href="/archives/date-time-format" rel="nofollow">Date Format documentation</a>). According to ISO 8601, if you don&#8217;t include a literal Z, the timezone is assumed to be the local time unless you alternatively specify the UTC offset (which you can easily do using Date Format&#8217;s &#8220;o&#8221; flag or the named mask &#8220;isoFullDateTime&#8221;). The JavaScript <code>Date</code> and <code>Date.prototype</code> objects include a number of methods for working with date objects using UTC rather than local time.</p>
<p>The use of &#8220;Z&#8221; as a flag to indicate that the timezone abbreviation should be embedded in the formatted string comes from the C and POSIX standards for formatting time (see the <a href="http://www.opengroup.org/onlinepubs/009695399/utilities/date.html" rel="nofollow">date</a> utility and <a href="http://www.opengroup.org/onlinepubs/009695399/functions/strftime.html" rel="nofollow">strftime</a> function).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy Pook</title>
		<link>http://blog.stevenlevithan.com/archives/date-format-1-0/comment-page-1#comment-7207</link>
		<dc:creator>Andy Pook</dc:creator>
		<pubDate>Mon, 12 Nov 2007 21:33:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stevenlevithan.com/archives/date-format-1-0#comment-7207</guid>
		<description>Z at the end of a datetime format should refer to &quot;Zulu&quot; or UTC time (aka GMT) not any zone based in the USA

http://en.wikipedia.org/wiki/ISO_8601</description>
		<content:encoded><![CDATA[<p>Z at the end of a datetime format should refer to &#8220;Zulu&#8221; or UTC time (aka GMT) not any zone based in the USA</p>
<p><a href="http://en.wikipedia.org/wiki/ISO_8601" rel="nofollow">http://en.wikipedia.org/wiki/ISO_8601</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
