Time Formatting Tester

Time Formatting Tester

tester

Keyboard Shortcuts

ShortcutAction
kSearch all tools
hShow keyboard shortcuts

Test your time formatting strings with this tool.

Ads are disabled, if you wish to support me please consider disabling your ad blocker.

Result

2026-01-03T09:44:54+00:00

About this Tool

Many Date Libraries offer formatting a date into a human-readable string. This is usually done by providing a string of Tokens representing the structure of the date that shall be returned. You can use this tool to quickly see how a string of tokens will turn out the current date with moment.js.

Here are some examples of time formatting strings:

ExampleResult
YYYY-MM-DD2026-01-03
YYYY-MM-DD HH:mm:ss2026-01-03 09:44:54
YYYY-MM-DD HH:mm:ss.SSS2026-01-03 09:44:54.607
YYYY-MM-DD HH:mm:ss.SSS A2026-01-03 09:44:54.607 AM
YYYY-MM-DD HH:mm:ss.SSS A Z2026-01-03 09:44:54.607 AM +00:00
MMMM Do YYYY, h:mm:ss aJanuary 3rd 2026, 9:44:54 am
ddddSaturday
MMM Do YYJan 3rd 26
D.M.YYYY3.1.2026
h:mm:ss a9:44:54 am
dddd, MMMM Do YYYY, h:mm:ss aSaturday, January 3rd 2026, 9:44:54 am
YYYY [YYYY escaped text] YYYY2026 YYYY escaped text 2026
Qo [Quarter]1st Quarter
DDDo [Day of the year]3rd Day of the year

Here you find a full list of the available tokens: https://momentjs.com/docs/#/displaying/

This free tool is part of a growing collection of lightweight web utilities crafted by Maxim Mäder to solve everyday computer tasks.

Courtesy ofmoment.js.

Ads are disabled, if you wish to support me please consider disabling your ad blocker.

OFFLINE