Result
2025-04-28T10:44:29+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 | 2025-04-28 |
YYYY-MM-DD HH:mm:ss | 2025-04-28 10:44:29 |
YYYY-MM-DD HH:mm:ss.SSS | 2025-04-28 10:44:29.289 |
YYYY-MM-DD HH:mm:ss.SSS A | 2025-04-28 10:44:29.289 AM |
YYYY-MM-DD HH:mm:ss.SSS A Z | 2025-04-28 10:44:29.289 AM +00:00 |
MMMM Do YYYY, h:mm:ss a | April 28th 2025, 10:44:29 am |
dddd | Monday |
MMM Do YY | Apr 28th 25 |
D.M.YYYY | 28.4.2025 |
h:mm:ss a | 10:44:29 am |
dddd, MMMM Do YYYY, h:mm:ss a | Monday, April 28th 2025, 10:44:29 am |
YYYY [YYYY escaped text] YYYY | 2025 YYYY escaped text 2025 |
Qo [Quarter] | 2nd Quarter |
DDDo [Day of the year] | 118th Day of the year |
Here you find a full list of the available tokens: https://momentjs.com/docs/#/displaying/
More links
Courtesy ofmoment.js.