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

2025-10-14T04:04:35+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-DD2025-10-14
YYYY-MM-DD HH:mm:ss2025-10-14 04:04:35
YYYY-MM-DD HH:mm:ss.SSS2025-10-14 04:04:35.095
YYYY-MM-DD HH:mm:ss.SSS A2025-10-14 04:04:35.095 AM
YYYY-MM-DD HH:mm:ss.SSS A Z2025-10-14 04:04:35.095 AM +00:00
MMMM Do YYYY, h:mm:ss aOctober 14th 2025, 4:04:35 am
ddddTuesday
MMM Do YYOct 14th 25
D.M.YYYY14.10.2025
h:mm:ss a4:04:35 am
dddd, MMMM Do YYYY, h:mm:ss aTuesday, October 14th 2025, 4:04:35 am
YYYY [YYYY escaped text] YYYY2025 YYYY escaped text 2025
Qo [Quarter]4th Quarter
DDDo [Day of the year]287th 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.