<?xml version="1.0" encoding="UTF-8"?>
<feed xml:lang="en-US" xmlns="http://www.w3.org/2005/Atom">
  <title>Prototype JavaScript framework - Date</title>
  <id>tag:www.prototypejs.org,2008:mephisto/api/date</id>
  <generator uri="http://mephistoblog.com" version="0.7.3">Mephisto Noh-Varr</generator>
  <link href="http://www.prototypejs.org/feed/api/date/atom.xml" rel="self" type="application/atom+xml"/>
  <link href="http://www.prototypejs.org/api/date" rel="alternate" type="text/html"/>
  <updated>2007-03-10T00:40:31Z</updated>
  <entry xml:base="http://www.prototypejs.org/">
    <author>
      <name>Tobie</name>
    </author>
    <id>tag:www.prototypejs.org,2007-03-10:14770</id>
    <published>2007-03-10T00:39:00Z</published>
    <updated>2007-03-10T00:40:31Z</updated>
    <category term="Date"/>
    <link href="http://www.prototypejs.org/api/date" rel="alternate" type="text/html"/>
    <title>Date</title>
  </entry>
  <entry xml:base="http://www.prototypejs.org/">
    <author>
      <name>Tobie</name>
    </author>
    <id>tag:www.prototypejs.org,2007-03-10:14769</id>
    <published>2007-03-10T00:28:00Z</published>
    <updated>2007-03-10T00:38:41Z</updated>
    <category term="Date"/>
    <category term="1.5.1"/>
    <link href="http://www.prototypejs.org/api/date/tojson" rel="alternate" type="text/html"/>
    <title>toJSON</title>
<summary type="html">&lt;pre&gt;&lt;code class=&quot;ebnf&quot;&gt;toJSON() -&gt; String&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Converts the date into a JSON string (following the ISO format used by JSON).&lt;/p&gt;</summary><content type="html">
            &lt;pre&gt;&lt;code class=&quot;ebnf&quot;&gt;toJSON() -&gt; String&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Converts the date into a JSON string (following the ISO format used by JSON).&lt;/p&gt;
&lt;h3&gt;Example&lt;/h3&gt;

&lt;pre&gt;&lt;code class=&quot;javascript&quot;&gt;
new Date(1969, 11, 31, 19).toJSON();
//-&gt; '&quot;1969-12-31T19:00:00&quot;'
&lt;/code&gt;&lt;/pre&gt;
          </content>  </entry>
</feed>
