Calendar.js - Documentation - Date Format

Below is a list of all the formatting options which state how dates are displayed (where supported).

Download Now

v2.10.15 - 17th Apr 2024
JSON Properties
Formatter: Description:
{dddd} The full name of the day of the week.
{ddd} The abbreviated 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.
{o} The day ordinal.
{mmmm} The full name of the month.
{mmm} The abbreviated 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.