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:
{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.