AnyChart
API Reference
Still have questions?
Contact support
Top
You are looking at an outdated v7 version of this document. Switch to the v8 version to see the up to date information.

[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.