Format Calendar Date
Format dates in various styles: ISO 8601, US, European, long form, short form, and custom patterns. 100% client-side.
YYYY year, YY short year, MMMM full month, MMM short month, MM zero-padded month, M month, DD zero-padded day, D day, dddd full weekday, ddd short weekday, dd 2-letter weekday Pick a date, get it back in ISO 8601, US, European, long form, short form, military, Unix timestamp, and weekday formats — all at once. There’s also a custom pattern field where you plug in tokens like YYYY, MMM, or dddd to build exactly the string your project needs. And everything runs in your browser. Nothing gets uploaded.
How It Works
You select a date from the picker (or it defaults to today). The tool then runs that date through JavaScript’s Date object, pulling out the year, month, day, and weekday. It arranges those pieces into every common format — ISO, US, European, and more — and displays them all at once. You click copy on whichever one you need. The custom pattern field lets you mix and match tokens like YYYY-MM-DD or dddd, MMMM D to create exactly the string you’re after.
Examples
API Response Needs ISO 8601
Your REST API returns dates and the frontend team asked for ISO format. Quick conversion.
March 15, 2026
2026-03-15
Invoice Date for a UK Client
UK clients expect DD/MM/YYYY. US clients expect MM/DD/YYYY. Getting these mixed up on an invoice looks unprofessional — or worse, causes a payment date dispute.
July 4, 2026
US: 07/04/2026
European: 04/07/2026
Custom Format for a Report Header
Your quarterly report template needs “Friday, January 9, 2026” at the top. Typing that by hand every time is one more thing to get wrong.
Date: Jan 9, 2026
Pattern: dddd, MMMM D, YYYY
Friday, January 9, 2026
Who Uses This
Grab ISO 8601 or Unix timestamps for database inserts, API payloads, and log entries without writing a one-off script.
Format milestone dates for status reports, Gantt charts, and client-facing timelines that need a specific look.
Get the correct “Thursday, March 5, 2026” string for article headers and press releases instead of guessing the weekday.
Convert messy date columns into a consistent format before pasting back into spreadsheets or SQL queries.
Common Mistakes
A date like 03/04/2026 is March 4th in the US but April 3rd in Europe. If you’re sending documents internationally, double-check which convention the recipient expects. Use the long form (March 4, 2026) when there’s any chance of confusion.
MM gives you the zero-padded number (03), while MMMM gives the full month name (March). MMM is the abbreviation (Mar). It is a small difference that changes the whole output.
JavaScript’s Date.now() returns milliseconds, but the Unix timestamp format here shows seconds (the standard). If you paste the value into code that expects milliseconds, multiply by 1000 first.
Technical Details
- Processing: 100% client-side — runs entirely in your browser
- Browser Support: Chrome, Firefox, Safari, Edge
- Output Formats: 8 built-in formats plus unlimited custom patterns
- Offline Capable: Works without internet after page loads
Frequently Asked Questions
What is the best date format for file names?
ISO 8601 (YYYY-MM-DD) is the go-to for file names. Files sort chronologically by default when you use it, and there’s zero ambiguity about which number is the month. Most developers and sysadmins have settled on this for exactly that reason.
What tokens can I use in custom date formats?
You can use YYYY or YY for the year, MMMM/MMM/MM/M for the month, DD/D for the day, and dddd/ddd/dd for the weekday. Anything else you type (like slashes, commas, or dashes) stays as-is. So a pattern like “dddd, MMMM D, YYYY” gives you “Friday, March 15, 2026”.
What is the difference between US and European date format?
The US puts the month first (MM/DD/YYYY), while most of Europe puts the day first (DD/MM/YYYY). So 01/02/2026 means January 2nd in the US and February 1st in Europe. It’s a common source of errors in international documents — when in doubt, spell out the month name.
What is a Unix timestamp and when would I use one?
A Unix timestamp counts the seconds since January 1, 1970 (midnight UTC). It’s a single number — no formatting ambiguity at all. Programmers use it in databases, APIs, and log files because it’s easy to store and compare. You’ll sometimes hear it called “epoch time.”
Is my date data sent to a server?
No. The formatting happens entirely in your browser with JavaScript. Nothing gets uploaded, logged, or stored anywhere. Once the page finishes loading, you can even disconnect from the internet and the tool keeps working.