NATIVE

settings_applicationsObject  >   settings_applicationsIntl  >   settings_applicationsIntl.DateTimeFormat  >   settings_applications[[Prototype]]

NATIVE

Editing
  • account_tree
  • bug_report

stringdateStringformat(Datedate)

현재 Intl.DateTimeFormat 객체의 지역 및 형식 지정 옵션에 따라 주어진 Date 객체의 날짜와 시간 형식을 반영한다.

구문

형식
dateTimeFormat.format(date)

매개 변수

Datedate필수

날짜와 시간을 나타내는 Date 객체를 지정한다.

반환

stringdateString

Intl.DateTimeFormat 객체의 지역(locale) 및 형식 지정 옵션에 따라 주어진 Date 객체의 날짜와 시간을 나타내는 문자열을 반환한다.

버전 명세

ECMAScript Internationalization API Specification
#sec-intl.datetimeformat.prototype.format

지원 웹브라우저