DayPilot.Calendar.headerDateFormat

headerDateFormat (string)

This property specifies the date format pattern string that will be used for columns headers in Days viewType.

If the value is not specified the .datePattern string from the current .locale will will be used.

The pattern uses syntax of DayPilot.Date.toString(pattern) method.

Default Value

null

Example

dp.headerDateFormat = "dddd MMMM d, yyyy";
// produces "Thursday January 1, 2015"