Get to know MDN better
This page was translated from English by the community. Learn more and join the MDN Web Docs community.
This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2015년 7월.
getDate() 메서드는 주어진 날짜의 현지 시간 기준 일을 반환합니다.
현지 시간에 따라, 주어진 날짜의 일에 해당하는 1 이상 31 이하의 정수.
아래 코드의 두 번째 명령문은 Xmas95의 값에 기반하여 day에 2를 할당합니다.
| ECMAScript® 2027 Language Specification # sec-date.prototype.getdate |
Enable JavaScript to view this browser compatibility table.
This page was last modified on 2025년 2월 11일 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.