Skip to main content
Version: v3.x

getDateFormat

Return the current year, month and day order.

Type

() => result

Parameters

result: number

ValueFormat
0year-month-day
1day-month-year
2month-day-year

Code example

const dateFormat = hmSetting.getDateFormat()