Get to know MDN better
このページはコミュニティーの尽力で英語から翻訳されました。MDN Web Docs コミュニティーについてもっと知り、仲間になるにはこちらから。
This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2015年7月.
toDateString() は Date インスタンスのメソッドで、この日時の地方時での日付部分を英語で返します。
なし。
指定された日時の日付部分を表す文字列(書式については説明を参照してください)。日時が無効の場合は "Invalid Date" を返します。
Date インスタンスは、特定の時点を参照します。 toDateString() は日付を地方時で解釈し、日付 の部分を英語で整形します。英語の次の書式で空白区切りで返します。
例 "Thu Jan 01 1970".
| ECMAScript® 2027 Language Specification # sec-date.prototype.todatestring |
Enable JavaScript to view this browser compatibility table.
This page was last modified on 2025年6月19日 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.