mozilla

Compare Revisions

Date

Change Revisions

Revision 8618:

Revision 8618 by Sheppy on

Revision 8619:

Revision 8619 by briansea on

Title:
Date
Date
Slug:
JavaScript/Reference/Global_Objects/Date
JavaScript/Reference/Global_Objects/Date
Tags:
NeedsBrowserCompatibility, NeedsMobileBrowserCompatibility
NeedsBrowserCompatibility, NeedsMobileBrowserCompatibility
Content:

Revision 8618
Revision 8619
n41        String value representing a date. The string should be inn41        String value representing a date. The string should be in
> a format recognized by the <a href="/en/JavaScript/Reference/Glo> a format recognized by the <a href="/en/JavaScript/Reference/Glo
>bal_Objects/Date/parse" title="en/JavaScript/Reference/Global_Obj>bal_Objects/Date/parse" title="en/JavaScript/Reference/Global_Obj
>ects/Date/parse">parse</a> method (<a class=" external" href="htt>ects/Date/parse">parse</a> method (<a class="external" href="http
>p://tools.ietf.org/html/rfc1123" title="http://tools.ietf.org/htm>://tools.ietf.org/html/rfc1123" title="http://tools.ietf.org/html
>l/rfc1123">IETF-compliant RFC 1123 timestamps</a>).>/rfc1123">IETF-compliant RFC 1123 timestamps</a>).
n116      Invoking <code>Date</code> in a non-constructor context (i.n116      Invoking <code>Date</code> in a non-constructor context (i.
>e., without the <a href="/en/JavaScript/Reference/Operators/Speci>e., without the <a href="/en/JavaScript/Reference/Operators/new" 
>al/new" title="en/JavaScript/Reference/Operators/Special_Operator>title="en/JavaScript/Reference/Operators/Special_Operators/new_Op
>s/new_Operator">new</a> operator) will return a string representi>erator">new</a> operator) will return a string representing the c
>ng the current time.>urrent time.
t221      <a href="/en/JavaScript/Reference/Global_Objects/Date/toTimt221      <a href="/en/JavaScript/Reference/Global_Objects/Date/toISO
>eString" title="en/JavaScript/Reference/Global_Objects/Date/toTim>String" title="en/JavaScript/Reference/Global_Objects/Date/toISOS
>eString"><code>Date.toISOString()</code></a> is now supported, so>tring"><code>Date.toISOString()</code></a> is now supported, so y
> you can use that.>ou can use that.

Back to History