[React]day format

KoEunseo·2023년 2월 23일
0

리액트

목록 보기
13/21
const date = new Date(2023, 02, 23);
const month = date.toLocaleString('en-US', {month:'long'});
const day = date.toLocaleString('en-US', {day:'2-digit'});
const year = date.getFullYear();
profile
주니어 플러터 개발자의 고군분투기

0개의 댓글