dev_tool/tool_logo/white/luxon.svg

Luxon Online playground test format function

This hands-on tool allows you to experiment with different format configurations in real time, helping you understand and implement Luxon functionality in your projects.

v3.5.0
Parameters
Common use
Setting that most people use
    Manual
    Input by your self
    12/04/2025 16:40
    format("dd/MM/yyyy HH:mm")
    April 12, 2025
    format("MMMM d, yyyy")
    Apr 12, 2025
    format("MMM d, yyyy")
    04:40 A
    format("hh:mm A")
    16:40:31
    format("HH:mm:ss")
    04
    format("LL")
    Apr
    format("LLL")
    April
    format("LLLL")
    2025-04-1216:4016:40:31+0
    format("yyyy-MM-ddTHH:mm:ssZ")
Date Value String
Text in any formats that can new Date(...)
Timezone
Enter timezone of the date
Formatting
Enter desired formatting you can see a hint from dropdown
Locale
Output language
Token Tips
These are list of token that you can use in Formatting
d
day of the month, no padding
12
dd
day of the month, padded to 2
12
c
day of the week, as number from 1-7 (Monday is 1, Sunday is 7)
6
ccc
day of the week, as an abbreviate localized string
Sat
cccc
day of the week, as an unabbreviated localized string
Saturday
ccccc
day of the week, as a single localized letter
S
View All
Output
N/A
Typescript
Sharing / Save
Copy the link to easily share it with friends, or save the result to revisit and use it later at your convenience.
Copy link
Save
dev_tool/tool_logo/black/luxon.svg

Other Luxon common operations

More operations you can play with.