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월.
valueOf() 함수는 Date 객체의 원시값을 반환합니다.
반환되는 milliseconds 값은 1 January 1970 00:00:00 UTC 와 주어진 일시 사이의 값입니다.
valueOf() 함수는 01 January, 1970 UTC 이후의 milliseconds 단위의 자연수 타입인 Date 객체의 원시값을 반환합니다.
이 함수는 Date.prototype.getTime() 함수와 동일한 결과값을 반환합니다.
이 함수는 사용자 코드에 명시된 것이 아닌, JavaScript 자체에 포함되어 있습니다.
| ECMAScript® 2027 Language Specification # sec-date.prototype.valueof |
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.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.