AnyChart
API Reference
Still have questions?
Contact support
Top

[enum] anychart.enums.LocaleDateTimeFormatImprove this Doc

Locale date time interval format names.
ValueDescriptionExample
dayDay
day-hourRepresents a timestamp with a precision up to a hour, but without units larger than a day
day-millisecondRepresents a timestamp with a precision up to a millisecond, but without units larger than a day
day-minuteRepresents a timestamp with a precision up to a minute, but without units larger than a day
day-secondRepresents a timestamp with a precision up to a second, but without units larger than a day
hourHour
hour-millisecondRepresents a timestamp with a precision up to a millisecond, but without units larger than a hour
hour-minuteRepresents a timestamp with a precision up to a minute, but without units larger than a hour
hour-secondRepresents a timestamp with a precision up to a second, but without units larger than a hour
millisecondMillisecond
minuteMinute
minute-millisecondRepresents a timestamp with a precision up to a millisecond, but without units larger than a minute
minute-secondRepresents a timestamp with a precision up to a second, but without units larger than a minute
monthMonth
month-dayRepresents a timestamp with a precision up to a day, but without units larger than a month
month-hourRepresents a timestamp with a precision up to a hour, but without units larger than a month
month-millisecondRepresents a timestamp with a precision up to a millisecond, but without units larger than a month
month-minuteRepresents a timestamp with a precision up to a minute, but without units larger than a month
month-secondRepresents a timestamp with a precision up to a second, but without units larger than a month
month-third-of-monthRepresents a timestamp with a precision up to a decade (third of month), but without units larger than a month
month-weekRepresents a timestamp with a precision up to a week, but without units larger than a month
quarterQuarter
quarter-dayRepresents a timestamp with a precision up to a day, but without units larger than a quarter
quarter-hourRepresents a timestamp with a precision up to a hour, but without units larger than a quarter
quarter-millisecondRepresents a timestamp with a precision up to a millisecond, but without units larger than a quarter
quarter-minuteRepresents a timestamp with a precision up to a minute, but without units larger than a quarter
quarter-monthRepresents a timestamp with a precision up to a month, but without units larger than a quarter
quarter-secondRepresents a timestamp with a precision up to a second, but without units larger than a quarter
quarter-third-of-monthRepresents a timestamp with a precision up to a decade (third of month), but without units larger than a quarter
quarter-weekRepresents a timestamp with a precision up to a week, but without units larger than a quarter
secondSecond
second-millisecondRepresents a timestamp with a precision up to a millisecond, but without units larger than a second
semesterSemester.
semester-dayRepresents a timestamp with a precision up to a day, but without units larger than a semester
semester-hourRepresents a timestamp with a precision up to a hour, but without units larger than a semester
semester-millisecondRepresents a timestamp with a precision up to a millisecond, but without units larger than a semester
semester-minuteRepresents a timestamp with a precision up to a minute, but without units larger than a semester
semester-monthRepresents a timestamp with a precision up to a month, but without units larger than a semester.
semester-quarterRepresents a timestamp with a precision up to a quarter; but without units larger than a semester
semester-secondRepresents a timestamp with a precision up to a second, but without units larger than a semester
semester-third-of-monthRepresents a timestamp with a precision up to a decade (third of month), but without units larger than a semester.
semester-weekRepresents a timestamp with a precision up to a week, but without units larger than a semester
third-of-monthDecade (third of month)
third-of-month-dayRepresents a timestamp with a precision up to a day, but without units larger than a decade (third of month)
third-of-month-hourRepresents a timestamp with a precision up to a hour, but without units larger than a decade (third of month)
third-of-month-millisecondRepresents a timestamp with a precision up to a millisecond, but without units larger than a decade (third of month)
third-of-month-minuteRepresents a timestamp with a precision up to a minute, but without units larger than a decade (third of month)
third-of-month-secondRepresents a timestamp with a precision up to a second, but without units larger than a decade (third of month)
third-of-month-weekRepresents a timestamp with a precision up to a week, but without units larger than a decade (third of month)
weekWeek
week-dayRepresents a timestamp with a precision up to a day, but without units larger than a week
week-hourRepresents a timestamp with a precision up to a hour, but without units larger than a week
week-millisecondRepresents a timestamp with a precision up to a millisecond, but without units larger than a week
week-minuteRepresents a timestamp with a precision up to a minute, but without units larger than a week
week-secondRepresents a timestamp with a precision up to a second, but without units larger than a week
yearYear
year-dayYear to day. Contains year; month and day.
year-hourYear to hour. Contains year, month, day and hours.
year-millisecondYear to milliseconds. Contains full datetime info.
year-minuteYear to minute. Contains year, month, day, hours and minutes.
year-monthYear to month.
year-quarterYear to quarter of year.
year-secondYear to second. Contains year, month, day, hours, seconds.
year-semesterYear to semester.
year-third-of-monthYear to decade (third of month).
year-weekYear to week. For number of week in year.