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월.
setTime() 메서드는 Date 객체를 1970년 1월 1일 00:00:00 UTC부터 밀리 초 단위로 나타내는 시간으로 설정합니다.
1970년 1월 1일 00:00:00 UTC 이후의 밀리 초 수를 나타내는 정수 값 입니다.
1970년 1월 1일 00:00:00 UTC와 업데이트 된 날짜 (사실상 인수의 값) 사이의 밀리 초 수입니다.
setTime() 메서드를 사용하면 다른 Date 객체에 날짜와 시간을 지정할 수 있습니다.
| ECMAScript® 2027 Language Specification # sec-date.prototype.settime |
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.