{"json_modified": "2015-04-17T05:08:49.028714", "slug": "Web/JavaScript/Reference/Global_Objects/Date/toISOString", "tags": [], "locale": "zh-CN", "title": "Date.prototype.toISOString()", "translations": [{"title": "Date.prototype.toISOString()", "url": "/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString", "tags": ["polyfill", "Reference", "Date", "R\u00e9f\u00e9rence", "prototype", "JavaScript", "Method"], "summary": "The toISOString()
method returns a string in simplified\u00a0extended ISO format (ISO 8601), which is always 24 characters long: YYYY-MM-DDTHH:mm:ss.sssZ
. The timezone is always zero UTC offset, as denoted by the suffix \"Z\"
.", "localization_tags": [], "locale": "en-US", "last_edit": "2015-02-15T20:15:45", "review_tags": []}, {"title": "Date.prototype.toISOString()", "url": "/fr/docs/Web/JavaScript/Reference/Objets_globaux/Date/toISOString", "tags": ["polyfill", "Reference", "Date", "R\u00e9f\u00e9rence", "prototype", "JavaScript", "Method"], "summary": "", "localization_tags": [], "locale": "fr", "last_edit": "2015-02-16T04:56:54", "review_tags": []}, {"title": "Date.prototype.toISOString()", "url": "/ru/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString", "tags": ["polyfill", "Reference", "Date", "R\u00e9f\u00e9rence", "prototype", "JavaScript", "Method"], "summary": "\u041c\u0435\u0442\u043e\u0434 toISOString()
\u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0441\u0442\u0440\u043e\u043a\u0443 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 ISO (\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u043d\u044b\u0439 \u0444\u043e\u0440\u043c\u0430\u0442 ISO 8601), \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u043e\u0436\u043d\u043e \u043e\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c: YYYY-MM-DDTHH:mm:ss.sssZ
. \u0427\u0430\u0441\u043e\u0432\u043e\u0439 \u043f\u043e\u044f\u0441 \u0432\u0441\u0435\u0433\u0434\u0430 \u0440\u0430\u0432\u0435\u043d UTC, \u0447\u0442\u043e \u043e\u0431\u043e\u0437\u043d\u0430\u0447\u0435\u043d\u043e \u0441\u0443\u0444\u0444\u0438\u043a\u0441\u043e\u043c \"Z\"
.", "localization_tags": [], "locale": "ru", "last_edit": "2015-01-27T04:13:02", "review_tags": []}], "modified": "2015-04-17T05:08:47", "label": "Date.prototype.toISOString()", "localization_tags": [], "url": "/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString", "last_edit": "2014-07-01T06:54:20", "summary": "toISOString()
\u00a0\u65b9\u6cd5\u8fd4\u56de\u4e00\u4e2a ISO\uff08ISO 8601 Extended Format\uff09\u683c\u5f0f\u7684\u5b57\u7b26\u4e32\uff1a\u00a0YYYY-MM-DDTHH:mm:ss.sssZ\u3002\u65f6\u533a\u603b\u662fUTC\uff08\u534f\u8c03\u4e16\u754c\u65f6\uff09\uff0c\u52a0\u4e00\u4e2a\u540e\u7f00\u201cZ\u201d\u6807\u8bc6\u3002", "sections": [{"id": "Quick_Links", "title": "JavaScript \u6807\u51c6\u5e93 Date \u5c5e\u6027 Date.prototype \u65b9\u6cd5 Date.UTC() Date.now() Date.parse() Date.prototype.getDate() Date.prototype.getDay() Date.prototype.getFullYear() Date.prototype.getHours() Date.prototype.getMilliseconds() Date.prototype.getMinutes() Date.prototype.getMonth() Date.prototype.getSeconds() Date.prototype.getTime() Date.prototype.getTimezoneOffset() Date.prototype.getUTCDate() Date.prototype.getUTCDay() Date.prototype.getUTCFullYear() Date.prototype.getUTCHours() Date.prototype.getUTCMilliseconds() Date.prototype.getUTCMinutes() Date.prototype.getUTCMonth() Date.prototype.getUTCSeconds() Date.prototype.getYear() Date.prototype.setDate() Date.prototype.setFullYear() Date.prototype.setHours() Date.prototype.setMilliseconds() Date.prototype.setMinutes() Date.prototype.setMonth() Date.prototype.setSeconds() Date.prototype.setTime() Date.prototype.setUTCDate() [Translate] Date.prototype.setUTCFullYear() [Translate] Date.prototype.setUTCHours() [Translate] Date.prototype.setUTCMilliseconds() [Translate] Date.prototype.setUTCMinutes() [Translate] Date.prototype.setUTCMonth() [Translate] Date.prototype.setUTCSeconds() [Translate] Date.prototype.setYear() Date.prototype.toDateString() Date.prototype.toGMTString() Date.prototype.toISOString() Date.prototype.toJSON() Date.prototype.toLocaleDateString() Date.prototype.toLocaleFormat() [Translate] Date.prototype.toLocaleString() Date.prototype.toLocaleTimeString() Date.prototype.toSource() [Translate] Date.prototype.toString() Date.prototype.toTimeString() Date.prototype.toUTCString() Date.prototype.valueOf() \u7ee7\u627f Function \u5c5e\u6027 Function.arguments Function.arity caller Function.displayName [Translate] length name prototype \u65b9\u6cd5 Function.prototype.apply() bind call isGenerator Function.toSource Function.prototype.toString() Object \u5c5e\u6027 Object.prototype.__count__ [Translate] Object.prototype.__noSuchMethod__ [Translate] __parent__ __proto__ constructor \u65b9\u6cd5 Object.prototype.__defineGetter__() Object.prototype.__defineSetter__() Object.prototype.__lookupGetter__() Object.prototype.__lookupSetter__() [Translate] Object.prototype.hasOwnProperty() isPrototypeOf propertyIsEnumerable Object.prototype.toLocaleString() Object.toSource Object.prototype.toString() Object.prototype.unwatch() [Translate] Object.prototype.valueOf() watch"}, {"id": "Summary", "title": "\u6982\u8ff0"}, {"id": "Syntax", "title": "\u8bed\u6cd5"}, {"id": ".E4.BE.8B.E5.AD.90", "title": "\u4f8b\u5b50"}, {"id": "Description", "title": "Polyfill"}, {"id": ".E8.A7.84.E8.8C.83", "title": "\u89c4\u8303"}, {"id": ".E6.B5.8F.E8.A7.88.E5.99.A8.E5.85.BC.E5.AE.B9.E6.80.A7", "title": "\u6d4f\u89c8\u5668\u517c\u5bb9\u6027"}, {"id": "See_Also", "title": "\u76f8\u5173\u94fe\u63a5"}], "id": 119765, "review_tags": []}