Date

338 views

Published on

Prototype Javascript

Published in: Technology, Business
  • Be the first to comment

  • Be the first to like this

Date

  1. 1. Module Date
  2. 2. Date <ul><li>toJSON() -> String </li></ul><ul><li>Converts the date into a JSON string (following the ISO format used by JSON). </li></ul><ul><li>Example </li></ul><ul><li>new  Date( 1969 ,  11 ,  31 ,  19 ).toJSON(); </li></ul><ul><li>//-> '&quot;1969-12-31T19:00:00&quot;' </li></ul>

×