Date Format Creator app icon

Date Format Creator

Try out a date format before it goes in your code. Type the format, pick a date and a time zone, and see exactly what DateFormatter makes of it. Then copy the Swift or Objective-C.

Download Date Format Creator on the Mac App Store $1.99 · £1.99 · Buy once, no subscription

EEEE d MMMM yyyy 'at' HH:mm→Friday 23 October 2026 at 15:30

How it works

Format in, string out

One window, top to bottom: the string, the date, the formatter, and the code. Change anything and the rest keeps up, in both directions.

Date Format Creator turning 23 October 2026, 3:30 PM into Friday 23 October 2026 at 15:30 with the format EEEE d MMMM yyyy 'at' HH:mm, with a green Date format appears valid label and buttons to copy the Objective-C or Swift code
  1. Pick a dateClick a day in the calendar, set the clock, or type the date and time.
  2. Type your formatThe string above changes with every letter you type.
  3. Choose a time zoneFormat the same moment for London, New York or Tokyo.
  4. Check a date stringPaste one in. Green means it reads, red means it doesn't, and the calendar and clock show the date it read.
  5. Copy the codeSwift or Objective-C, with the format, leniency and time zone already set.

Why test it

One letter out

Date formats are case sensitive, and one wrong letter can pass a quick test and still go wrong later. These are all formatted for 29 December 2026 at 3:30 PM.

Formats worth knowing

yyyy-MM-dd'T'HH:mm:ssZZZZZ
2026-10-16T15:30:05+01:00ISO 8601, common in JSON APIs
EEE, dd MMM yyyy HH:mm:ss zzz
Fri, 16 Oct 2026 14:30:05 GMTHTTP dates, with the time zone set to GMT
dd/MM/yyyy
16/10/2026
MMM d, h:mm a
Oct 16, 3:30 PM
h:mm a zzzz
3:30 PM British Summer Time
QQQ yyyy
Q4 2026
'Week' w
Week 42Text in single quotes is copied as it is
D
289The day of the year

16 October 2026 at 3:30:05 PM in London. Every example on this page was made with DateFormatter and the en_US_POSIX locale, as Date Format Creator uses.

Features

Everything a formatter does, in view

A look inside

One window, top to bottom

Light or dark, Date Format Creator follows your Mac's appearance.

The Date Formatting Table in Date Format Creator, listing each format letter with how many to use, an example and a description, starting with era and year
The format reference, one click away

Get it

Buy it once

Date Format Creator

$1.99 · £1.99, a one-off purchase

  • No subscription
  • For Swift and Objective-C projects
  • Free updates through the Mac App Store
Download Date Format Creator on the Mac App Store
Styling text in code? Attributed String Creator turns formatted text into the Swift or Objective-C for an attributed string. See Attributed String Creator →

Details