DateTim...e::de_DE(3)

πŸŽ€ DateTime::Locale::de_DE(3) β€” the German Germany locale, explained πŸ’…

okay bestie, so this is a User Contributed Perl Documentation page for DateTime::Locale::de_DE (that's section 3 of the manual, iykyk) and it's literally just a giant flex of every single locale data example available for the German Germany (de-DE) locale. like, it's not a function you call, it's a showcase ✨


πŸ’– NAME πŸ’–

DateTime::Locale::de_DE β€” locale data examples for the German Germany (de-DE) locale. that's the whole name, that's the vibe 🫢


🌸 DESCRIPTION 🌸

This pod file contains examples of the locale data available for the German Germany locale. no cap, it's all here β€” days, months, quarters, eras, and then a whole buffet of formats. grab a snack, this one's long πŸ“

πŸ¦‹ Days πŸ¦‹

Wide (format) 🌈

Montag
Dienstag
Mittwoch
Donnerstag
Freitag
Samstag
Sonntag

Abbreviated (format) ✨

note the lil periods, bestie β€” they're part of the data πŸ‘€

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

Narrow (format) πŸŽ€

just single letters, and yes M and D show up twice β€” that's not a typo, that's literally what the locale says πŸ’€

M
D
M
D
F
S
S

Wide (stand-alone) 🌸

same as wide format, iconic behavior:

Montag
Dienstag
Mittwoch
Donnerstag
Freitag
Samstag
Sonntag

Abbreviated (stand-alone) 🫢

stand-alone versions have no periods. the way that's the whole difference 😭

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) πŸ¦‹

okay so MΓ€rz, Mai, Juni and Juli are out here living their best full-word lives, while the rest got the period treatment. also Sept. is a whole four letters. respect πŸ’…

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) 🌸

stand-alone again = no periods, and MΓ€r / Sep get shortened differently. the attention to detail, honestly πŸ‘‘

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.
lowkey obsessed that all three are identical here. it's giving "we said what we said" πŸ’€

πŸ“ 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 this is the main character section fr. every key gets its parenthesised pattern up top, then three sample timestamps turned into strings. buckle up bestie, there's a lot of them πŸ’…

Bh (h B) ⭐

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) ⭐

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) ⭐

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) πŸ¦‹

2008-02-05T18:30:30 = Di
1995-12-22T09:05:02 = Fr
-0010-09-15T04:44:23 = Sa

EBhm (E h:mm B) πŸ¦‹

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) πŸ¦‹

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) πŸŽ€

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) πŸŽ€

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.) πŸŽ€

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) 🌸

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) 🌸

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) πŸ”₯

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) πŸ”₯

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) πŸ”₯

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) πŸ”₯

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) πŸ”₯

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') πŸ’œ

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

Hm (HH:mm) πŸ’œ

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) πŸ’œ

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) πŸ¦‹

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) πŸ¦‹

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) πŸŽ€

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

MEd (E, d.M.) πŸŽ€

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) 🌟

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

MMMEd (E, d. MMM) 🌟

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) 🌟

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) πŸ’€

okay the plural rules said "one" so here it is, and yes all three examples still hit this pattern:

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) πŸ’€

and the "other" bucket, matching character for character:

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) ✨

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

MMMd (d. MMM) ✨

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

MMd (d.MM.) πŸ¦‹

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

MMdd (dd.MM.) πŸ¦‹

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

Md (d.M.) 🌈

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

d (d) 🌈

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

h (h 'Uhr' a) πŸ“

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) πŸ“

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) πŸ“

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) 🧚

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) 🧚

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) ⭐

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

y (y) πŸ‘‘

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

yM (M/y) πŸ‘‘

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) πŸ‘‘

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) πŸ’œ

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

yMMM (MMM y) πŸ’œ

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) πŸ’œ

...and that's exactly where part 1 runs out, bestie 😭 the examples for this one roll over into part 2 β€” don't go anywhere 🫢


and the tail end of that last pattern was still doing its thing, so here's the wrap-up of it, no cap:

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

and now the rest of the pattern roster, bestie β€” every single one, with all three of its little test timestamps πŸŽ€

πŸ’– yMMMM (MMMM y)

month-name-plus-year energy, it's giving calendar header:

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, abbreviated month, year β€” the classic:

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, extremely German about it:

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 vibe as above but it refuses to pad anything, lowkey chaotic:

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, short and sweet:

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, main character spelling:

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-of-year, singular/one form (note the literal quoted words in the pattern β€” they stay quoted, periodt):

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)

and the "other" plural form β€” same pattern, same output, two separate entries because that's how the locale rolls πŸ’€:

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 🌈

just the little settings, bestie, nothing scary:

  • Prefers 24 hour time? Yes β€” 24-hour girlie all the way, no AM/PM slander here 🫢
  • Local first day of the week β€” 1 (Montag) β€” weeks start on Monday, as they should, honestly iconic

⭐ Strftime Patterns ⭐

the old-school strftime crew β€” here's each one and its three test timestamps πŸ’œ

πŸ’€ %c (%a %d %b %Y %T %Z) β€” date time format

the full date-and-time combo platter:

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

πŸ’– %x (%d.%m.%Y) β€” date format

date only, dotted and zero-padded:

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

πŸŽ€ %X (%T) β€” time format

time only, and yes %T is literally just %H:%M:%S living its life:

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 🫢

  • See DateTime::Locale.

and that's the whole thing, bestie, you ate πŸ’…βœ¨ this page is perl v5.42.0, dated 2024-12-12 β€” go forth and format your dates in German, fr fr πŸŒΈπŸ¦‹

πŸ“¦ where this page comes from