Result
2026-04-04T00:23:07+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:
| Example | Result |
|---|---|
| YYYY-MM-DD | 2026-04-04 |
| YYYY-MM-DD HH:mm:ss | 2026-04-04 00:23:07 |
| YYYY-MM-DD HH:mm:ss.SSS | 2026-04-04 00:23:07.035 |
| YYYY-MM-DD HH:mm:ss.SSS A | 2026-04-04 00:23:07.035 AM |
| YYYY-MM-DD HH:mm:ss.SSS A Z | 2026-04-04 00:23:07.035 AM +00:00 |
| MMMM Do YYYY, h:mm:ss a | April 4th 2026, 12:23:07 am |
| dddd | Saturday |
| MMM Do YY | Apr 4th 26 |
| D.M.YYYY | 4.4.2026 |
| h:mm:ss a | 12:23:07 am |
| dddd, MMMM Do YYYY, h:mm:ss a | Saturday, April 4th 2026, 12:23:07 am |
| YYYY [YYYY escaped text] YYYY | 2026 YYYY escaped text 2026 |
| Qo [Quarter] | 2nd Quarter |
| DDDo [Day of the year] | 94th 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.