JsonTree.js - Documentation - Date Format

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

Download Now

v2.6.0 - 19th Jul 2024
JSON Properties
Formatter: Description:
{hh} The hour of the day, from 00 through 23.
{h} The hour of the day, from 0 through 23.
{MM} The minutes of the day, from 00 through 59.
{M} The minutes of the day, from 0 through 59.
{ss} The seconds of the day, from 00 through 59.
{s} The seconds of the day, from 0 through 59.
{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.