- Information
- License (MIT)
- Recent Changes
- Supported Languages
- Supported Export Types
- Supported Import Types
- Setup
- Getting Started
- CDN Links
- Navigation
- Shortcut Keys
- API
- Public Functions
- Configuration
- Main
- Text (locale)
- Binding Options
- Basic
- Holiday
- Dynamic Color Range
- Color Range
- Date Formatting
- Custom Triggers
- Binding Options - Layout
- Side Menu
- Title Bar
- Yearly Statistics
- Description
- Guide
- Zooming
- ToolTip
- Binding Options - Views
- Map
- Line
- Chart
- Days
- Months
- Color Ranges
Date Formating
Explore our complete list of date formatting options, detailing how dates are displayed (where supported).
Example
$heat.updateBindingOptions( "heat-map", {
"views": {
"map": {
"dayToolTipText": "{dddd}, {d}{o} {mmmm} {yyyy}"
}
}
} );Formatting Options
| Formatter: | Description: |
|---|---|
{hh} | The name of the holiday (if set). |
{dddd} | The full name of the day of the week. |
{dd} | The day of the month, from 01 through 31. |
{d} | The day of the month, from 1 through 31. |
{ww} | The week number, from 01 through 53. |
{w} | The week number, from 1 through 53. |
{o} | The day ordinal. |
{mmmm} | The full name of the month. |
{mm} | The month, from 01 through 12. |
{m} | The month, from 1 through 12. |
{yyyy} | The year as a four-digit number. |
{yyy} | The year, from 000 to 999. |
{yy} | The year, from 00 to 99. |
{y} | The year, from 0 to 99. |