DateTim...ale::de(3)

✨ DateTime::Locale::de ✨

bestie, this is the DateTime::Locale::de page from User Contributed Perl Documentation β€” the header is literally truncated as DateTim...ale::de(3) because terminal said what it said πŸ’€. It’s all the German (de) locale data examples, and it is lowkey a whole mood board of days, months, eras, and format strings. Part 1, so we’re not signing off β€” we’re just pausing mid-glow-up 🫢.


🌸 NAME 🌸

DateTime::Locale::de - Locale data examples for the German (de) locale

πŸ’– DESCRIPTION πŸ’–

This pod file contains examples of the locale data available for the German locale.

πŸ—“οΈ Days

🌸 Wide (format)

Montag
Dienstag
Mittwoch
Donnerstag
Freitag
Samstag
Sonntag

🌸 Abbreviated (format)

Mo.
Di.
Mi.
Do.
Fr.
Sa.
So.

🌸 Narrow (format)

M
D
M
D
F
S
S

🌸 Wide (stand-alone)

Montag
Dienstag
Mittwoch
Donnerstag
Freitag
Samstag
Sonntag

🌸 Abbreviated (stand-alone)

Mo
Di
Mi
Do
Fr
Sa
So

🌸 Narrow (stand-alone)

M
D
M
D
F
S
S

πŸŒ™ Months

🌸 Wide (format)

Januar
Februar
MΓ€rz
April
Mai
Juni
Juli
August
September
Oktober
November
Dezember

🌸 Abbreviated (format)

Jan.
Feb.
MΓ€rz
Apr.
Mai
Juni
Juli
Aug.
Sept.
Okt.
Nov.
Dez.

🌸 Narrow (format)

J
F
M
A
M
J
J
A
S
O
N
D

🌸 Wide (stand-alone)

Januar
Februar
MΓ€rz
April
Mai
Juni
Juli
August
September
Oktober
November
Dezember

🌸 Abbreviated (stand-alone)

Jan
Feb
MΓ€r
Apr
Mai
Jun
Jul
Aug
Sep
Okt
Nov
Dez

🌸 Narrow (stand-alone)

J
F
M
A
M
J
J
A
S
O
N
D

🌟 Quarters

🌸 Wide (format)

1. Quartal
2. Quartal
3. Quartal
4. Quartal

🌸 Abbreviated (format)

Q1
Q2
Q3
Q4

🌸 Narrow (format)

1
2
3
4

🌸 Wide (stand-alone)

1. Quartal
2. Quartal
3. Quartal
4. Quartal

🌸 Abbreviated (stand-alone)

Q1
Q2
Q3
Q4

🌸 Narrow (stand-alone)

1
2
3
4

πŸ‘‘ Eras

🌈 Wide (format)

v. Chr.
n. Chr.

🌈 Abbreviated (format)

v. Chr.
n. Chr.

🌈 Narrow (format)

v. Chr.
n. Chr.

πŸ“… Date Formats

🌸 Full

2008-02-05T18:30:30 = Dienstag, 5. Februar 2008
1995-12-22T09:05:02 = Freitag, 22. Dezember 1995
-0010-09-15T04:44:23 = Samstag, 15. September -10

🌸 Long

2008-02-05T18:30:30 = 5. Februar 2008
1995-12-22T09:05:02 = 22. Dezember 1995
-0010-09-15T04:44:23 = 15. September -10

🌸 Medium

2008-02-05T18:30:30 = 05.02.2008
1995-12-22T09:05:02 = 22.12.1995
-0010-09-15T04:44:23 = 15.09.-10

🌸 Short

2008-02-05T18:30:30 = 05.02.08
1995-12-22T09:05:02 = 22.12.95
-0010-09-15T04:44:23 = 15.09.-10

⏰ Time Formats

🌸 Full

2008-02-05T18:30:30 = 18:30:30 UTC
1995-12-22T09:05:02 = 09:05:02 UTC
-0010-09-15T04:44:23 = 04:44:23 UTC

🌸 Long

2008-02-05T18:30:30 = 18:30:30 UTC
1995-12-22T09:05:02 = 09:05:02 UTC
-0010-09-15T04:44:23 = 04:44:23 UTC

🌸 Medium

2008-02-05T18:30:30 = 18:30:30
1995-12-22T09:05:02 = 09:05:02
-0010-09-15T04:44:23 = 04:44:23

🌸 Short

2008-02-05T18:30:30 = 18:30
1995-12-22T09:05:02 = 09:05
-0010-09-15T04:44:23 = 04:44

πŸ¦‹ Datetime Formats

🌸 Full

2008-02-05T18:30:30 = Dienstag, 5. Februar 2008, 18:30:30 UTC
1995-12-22T09:05:02 = Freitag, 22. Dezember 1995, 09:05:02 UTC
-0010-09-15T04:44:23 = Samstag, 15. September -10, 04:44:23 UTC

🌸 Long

2008-02-05T18:30:30 = 5. Februar 2008, 18:30:30 UTC
1995-12-22T09:05:02 = 22. Dezember 1995, 09:05:02 UTC
-0010-09-15T04:44:23 = 15. September -10, 04:44:23 UTC

🌸 Medium

2008-02-05T18:30:30 = 05.02.2008, 18:30:30
1995-12-22T09:05:02 = 22.12.1995, 09:05:02
-0010-09-15T04:44:23 = 15.09.-10, 04:44:23

🌸 Short

2008-02-05T18:30:30 = 05.02.08, 18:30
1995-12-22T09:05:02 = 22.12.95, 09:05
-0010-09-15T04:44:23 = 15.09.-10, 04:44

πŸ’… Available Formats

okay these are the named format patterns, bestie. The label is the key, the thing in parens is the pattern, and the code block is the receipts for three sample timestamps. No cap, every single one is here πŸ’–.

  • Bh (h B) β€” the receipts:
2008-02-05T18:30:30 = 6 B
1995-12-22T09:05:02 = 9 B
-0010-09-15T04:44:23 = 4 B
  • Bhm (h:mm B) β€” the receipts:
2008-02-05T18:30:30 = 6:30 B
1995-12-22T09:05:02 = 9:05 B
-0010-09-15T04:44:23 = 4:44 B
  • Bhms (h:mm:ss B) β€” the receipts:
2008-02-05T18:30:30 = 6:30:30 B
1995-12-22T09:05:02 = 9:05:02 B
-0010-09-15T04:44:23 = 4:44:23 B
  • E (ccc) β€” the receipts:
2008-02-05T18:30:30 = Di
1995-12-22T09:05:02 = Fr
-0010-09-15T04:44:23 = Sa
  • EBhm (E h:mm B) β€” the receipts:
2008-02-05T18:30:30 = Di. 6:30 B
1995-12-22T09:05:02 = Fr. 9:05 B
-0010-09-15T04:44:23 = Sa. 4:44 B
  • EBhms (E h:mm:ss B) β€” the receipts:
2008-02-05T18:30:30 = Di. 6:30:30 B
1995-12-22T09:05:02 = Fr. 9:05:02 B
-0010-09-15T04:44:23 = Sa. 4:44:23 B
  • EHm (E, HH:mm) β€” the receipts:
2008-02-05T18:30:30 = Di., 18:30
1995-12-22T09:05:02 = Fr., 09:05
-0010-09-15T04:44:23 = Sa., 04:44
  • EHms (E, HH:mm:ss) β€” the receipts:
2008-02-05T18:30:30 = Di., 18:30:30
1995-12-22T09:05:02 = Fr., 09:05:02
-0010-09-15T04:44:23 = Sa., 04:44:23
  • Ed (E, d.) β€” the receipts:
2008-02-05T18:30:30 = Di., 5.
1995-12-22T09:05:02 = Fr., 22.
-0010-09-15T04:44:23 = Sa., 15.
  • Ehm (E h:mm a) β€” the receipts:
2008-02-05T18:30:30 = Di. 6:30 PM
1995-12-22T09:05:02 = Fr. 9:05 AM
-0010-09-15T04:44:23 = Sa. 4:44 AM
  • Ehms (E, h:mm:ss a) β€” the receipts:
2008-02-05T18:30:30 = Di., 6:30:30 PM
1995-12-22T09:05:02 = Fr., 9:05:02 AM
-0010-09-15T04:44:23 = Sa., 4:44:23 AM
  • Gy (y G) β€” the receipts:
2008-02-05T18:30:30 = 2008 n. Chr.
1995-12-22T09:05:02 = 1995 n. Chr.
-0010-09-15T04:44:23 = -10 v. Chr.
  • GyMMM (MMM y G) β€” the receipts:
2008-02-05T18:30:30 = Feb. 2008 n. Chr.
1995-12-22T09:05:02 = Dez. 1995 n. Chr.
-0010-09-15T04:44:23 = Sept. -10 v. Chr.
  • GyMMMEd (E, d. MMM y G) β€” the receipts:
2008-02-05T18:30:30 = Di., 5. Feb. 2008 n. Chr.
1995-12-22T09:05:02 = Fr., 22. Dez. 1995 n. Chr.
-0010-09-15T04:44:23 = Sa., 15. Sept. -10 v. Chr.
  • GyMMMd (d. MMM y G) β€” the receipts:
2008-02-05T18:30:30 = 5. Feb. 2008 n. Chr.
1995-12-22T09:05:02 = 22. Dez. 1995 n. Chr.
-0010-09-15T04:44:23 = 15. Sept. -10 v. Chr.
  • GyMd (dd.MM.y G) β€” the receipts:
2008-02-05T18:30:30 = 05.02.2008 n. Chr.
1995-12-22T09:05:02 = 22.12.1995 n. Chr.
-0010-09-15T04:44:23 = 15.09.-10 v. Chr.
  • H (HH 'Uhr') β€” the receipts:
2008-02-05T18:30:30 = 18 Uhr
1995-12-22T09:05:02 = 09 Uhr
-0010-09-15T04:44:23 = 04 Uhr
  • Hm (HH:mm) β€” the receipts:
2008-02-05T18:30:30 = 18:30
1995-12-22T09:05:02 = 09:05
-0010-09-15T04:44:23 = 04:44
  • Hms (HH:mm:ss) β€” the receipts:
2008-02-05T18:30:30 = 18:30:30
1995-12-22T09:05:02 = 09:05:02
-0010-09-15T04:44:23 = 04:44:23
  • Hmsv (HH:mm:ss v) β€” the receipts:
2008-02-05T18:30:30 = 18:30:30 UTC
1995-12-22T09:05:02 = 09:05:02 UTC
-0010-09-15T04:44:23 = 04:44:23 UTC
  • Hmv (HH:mm v) β€” the receipts:
2008-02-05T18:30:30 = 18:30 UTC
1995-12-22T09:05:02 = 09:05 UTC
-0010-09-15T04:44:23 = 04:44 UTC
  • M (L) β€” the receipts:
2008-02-05T18:30:30 = 2
1995-12-22T09:05:02 = 12
-0010-09-15T04:44:23 = 9
  • MEd (E, d.M.) β€” the receipts:
2008-02-05T18:30:30 = Di., 5.2.
1995-12-22T09:05:02 = Fr., 22.12.
-0010-09-15T04:44:23 = Sa., 15.9.
  • MMM (LLL) β€” the receipts:
2008-02-05T18:30:30 = Feb
1995-12-22T09:05:02 = Dez
-0010-09-15T04:44:23 = Sep
  • MMMEd (E, d. MMM) β€” the receipts:
2008-02-05T18:30:30 = Di., 5. Feb.
1995-12-22T09:05:02 = Fr., 22. Dez.
-0010-09-15T04:44:23 = Sa., 15. Sept.
  • MMMMEd (E, d. MMMM) β€” the receipts:
2008-02-05T18:30:30 = Di., 5. Februar
1995-12-22T09:05:02 = Fr., 22. Dezember
-0010-09-15T04:44:23 = Sa., 15. September
  • MMMMW-count-one ('Woche' W 'im' MMMM) β€” the receipts:
2008-02-05T18:30:30 = Woche 1 im Februar
1995-12-22T09:05:02 = Woche 3 im Dezember
-0010-09-15T04:44:23 = Woche 2 im September
  • MMMMW-count-other ('Woche' W 'im' MMMM) β€” the receipts:
2008-02-05T18:30:30 = Woche 1 im Februar
1995-12-22T09:05:02 = Woche 3 im Dezember
-0010-09-15T04:44:23 = Woche 2 im September
  • MMMMd (d. MMMM) β€” the receipts:
2008-02-05T18:30:30 = 5. Februar
1995-12-22T09:05:02 = 22. Dezember
-0010-09-15T04:44:23 = 15. September
  • MMMd (d. MMM) β€” the receipts:
2008-02-05T18:30:30 = 5. Feb.
1995-12-22T09:05:02 = 22. Dez.
-0010-09-15T04:44:23 = 15. Sept.
  • MMd (d.MM.) β€” the receipts:
2008-02-05T18:30:30 = 5.02.
1995-12-22T09:05:02 = 22.12.
-0010-09-15T04:44:23 = 15.09.
  • MMdd (dd.MM.) β€” the receipts:
2008-02-05T18:30:30 = 05.02.
1995-12-22T09:05:02 = 22.12.
-0010-09-15T04:44:23 = 15.09.
  • Md (d.M.) β€” the receipts:
2008-02-05T18:30:30 = 5.2.
1995-12-22T09:05:02 = 22.12.
-0010-09-15T04:44:23 = 15.9.
  • d (d) β€” the receipts:
2008-02-05T18:30:30 = 5
1995-12-22T09:05:02 = 22
-0010-09-15T04:44:23 = 15
  • h (h 'Uhr' a) β€” the receipts:
2008-02-05T18:30:30 = 6 Uhr PM
1995-12-22T09:05:02 = 9 Uhr AM
-0010-09-15T04:44:23 = 4 Uhr AM
  • hm (h:mm a) β€” the receipts:
2008-02-05T18:30:30 = 6:30 PM
1995-12-22T09:05:02 = 9:05 AM
-0010-09-15T04:44:23 = 4:44 AM
  • hms (h:mm:ss a) β€” the receipts:
2008-02-05T18:30:30 = 6:30:30 PM
1995-12-22T09:05:02 = 9:05:02 AM
-0010-09-15T04:44:23 = 4:44:23 AM
  • hmsv (h:mm:ss a v) β€” the receipts:
2008-02-05T18:30:30 = 6:30:30 PM UTC
1995-12-22T09:05:02 = 9:05:02 AM UTC
-0010-09-15T04:44:23 = 4:44:23 AM UTC
  • hmv (h:mm a v) β€” the receipts:
2008-02-05T18:30:30 = 6:30 PM UTC
1995-12-22T09:05:02 = 9:05 AM UTC
-0010-09-15T04:44:23 = 4:44 AM UTC
  • ms (mm:ss) β€” the receipts:
2008-02-05T18:30:30 = 30:30
1995-12-22T09:05:02 = 05:02
-0010-09-15T04:44:23 = 44:23
  • y (y) β€” the receipts:
2008-02-05T18:30:30 = 2008
1995-12-22T09:05:02 = 1995
-0010-09-15T04:44:23 = -10
  • yM (M/y) β€” the receipts:
2008-02-05T18:30:30 = 2/2008
1995-12-22T09:05:02 = 12/1995
-0010-09-15T04:44:23 = 9/-10
  • yMEd (E, d.M.y) β€” the receipts:
2008-02-05T18:30:30 = Di., 5.2.2008
1995-12-22T09:05:02 = Fr., 22.12.1995
-0010-09-15T04:44:23 = Sa., 15.9.-10
  • yMM (MM.y) β€” the receipts:
2008-02-05T18:30:30 = 02.2008
1995-12-22T09:05:02 = 12.1995
-0010-09-15T04:44:23 = 09.-10
  • yMMM (MMM y) β€” the receipts:
2008-02-05T18:30:30 = Feb. 2008
1995-12-22T09:05:02 = Dez. 1995
-0010-09-15T04:44:23 = Sept. -10
  • yMMMEd (E, d. MMM y) β€” the page cuts off right here in part 1, so there are no example lines shown for this one yet.

Okay so picking up right where we left off β€” next pattern block, no heading needed, just vibes ✨:

2008-02-05T18:30:30 = Di., 5. Feb. 2008
1995-12-22T09:05:02 = Fr., 22. Dez. 1995
-0010-09-15T04:44:23 = Sa., 15. Sept. -10

yMMMM (MMMM y)

Month-and-year energy, month first, no day invited πŸŽ€

2008-02-05T18:30:30 = Februar 2008
1995-12-22T09:05:02 = Dezember 1995
-0010-09-15T04:44:23 = September -10

yMMMd (d. MMM y)

Day, then the short month, then the year β€” classic, lowkey the one everyone actually uses 🫢

2008-02-05T18:30:30 = 5. Feb. 2008
1995-12-22T09:05:02 = 22. Dez. 1995
-0010-09-15T04:44:23 = 15. Sept. -10

yMMdd (dd.MM.y)

All-numeric, zero-padded, absolutely giving "I file my taxes on time" πŸ’…

2008-02-05T18:30:30 = 05.02.2008
1995-12-22T09:05:02 = 22.12.1995
-0010-09-15T04:44:23 = 15.09.-10

yMd (d.M.y)

Same as above but the zero-padding said "not today" β€” compact and cute πŸ’–

2008-02-05T18:30:30 = 5.2.2008
1995-12-22T09:05:02 = 22.12.1995
-0010-09-15T04:44:23 = 15.9.-10

yQQQ (QQQ y)

Quarter, abbreviated, because sometimes a whole month is simply too much information 🌸

2008-02-05T18:30:30 = Q1 2008
1995-12-22T09:05:02 = Q4 1995
-0010-09-15T04:44:23 = Q3 -10

yQQQQ (QQQQ y)

The long-form quarter. It's giving spreadsheet header at a very serious company πŸ‘‘

2008-02-05T18:30:30 = 1. Quartal 2008
1995-12-22T09:05:02 = 4. Quartal 1995
-0010-09-15T04:44:23 = 3. Quartal -10

yw-count-one ('Woche' w 'des' 'Jahres' Y)

Week-number flex, one variant β€” heads up bestie, count-one and count-other are literally identical here, so don't come for me about the duplicate, that's just how the data is fr fr πŸ™ˆ

2008-02-05T18:30:30 = Woche 6 des Jahres 2008
1995-12-22T09:05:02 = Woche 51 des Jahres 1995
-0010-09-15T04:44:23 = Woche 37 des Jahres -10

yw-count-other ('Woche' w 'des' 'Jahres' Y)

Yep. Same pattern, same strings, same everything. Iconic of it honestly πŸ’€

2008-02-05T18:30:30 = Woche 6 des Jahres 2008
1995-12-22T09:05:02 = Woche 51 des Jahres 1995
-0010-09-15T04:44:23 = Woche 37 des Jahres -10

✨ Miscellaneous ✨

The little settings that make the whole locale tick 🧚

  • Prefers 24 hour time? Yes β€” no AM/PM nonsense here, we're doing 18:30:30 and we're thriving πŸ’―
  • Local first day of the week 1 (Montag) β€” week starts on Monday, as it should πŸ‘‘

πŸ¦‹ Strftime Patterns πŸ¦‹

For when you're on that classic strftime grind and need the German output πŸ‘‘

%c (%a %b %e %H:%M:%S %Y) β€” date time format

The whole shebang. Day name, month name, the weird space-padded day number, time, year 🌈

2008-02-05T18:30:30 = Di. Feb.  5 18:30:30 2008
1995-12-22T09:05:02 = Fr. Dez. 22 09:05:02 1995
-0010-09-15T04:44:23 = Sa. Sept. 15 04:44:23 -10
Not me pointing out the literal two spaces before the 5 β€” that's %e doing its space-padded thing, it's not a typo, do not "fix" it 😭

%x (%m/%d/%y) β€” date format

Short numeric date. And yes, the pattern is %m/%d/%y even for a German locale β€” that's what the page says, so that's what we ship 🌸

2008-02-05T18:30:30 = 02/05/08
1995-12-22T09:05:02 = 12/22/95
-0010-09-15T04:44:23 = 09/15/10

%X (%H:%M:%S) β€” time format

Just the clock, 24-hour, no notes ⭐

2008-02-05T18:30:30 = 18:30:30
1995-12-22T09:05:02 = 09:05:02
-0010-09-15T04:44:23 = 04:44:23

πŸ’œ SUPPORT πŸ’œ

That's literally it, bestie β€” see DateTime::Locale for the whole system, the actual machinery, all the other locales, the works 🫢


That's the whole page, no cap πŸ’… this was perl v5.42.0, dated 2024-12-12, and honestly? She ate. Go format some dates, you've got this πŸŽ€βœ¨

πŸ“¦ where this page comes from