<InputDateAsNumber isYM value={dayjs().format("YYYYMMDD")}/>
as shown in
September 2021
appears.
R3/09
How do I make it look like this?
Intl.DateTimeFormat
is available.
console.log(newIntl.DateTimeFormat('ja-JP-u-ca-Japanese', {year: 'numeric', month: '2-digit'}).format(new Date()));
© 2024 OneMinuteCode. All rights reserved.