DateTim...ale::da(3)

✨ NAME ✨

DateTime::Locale::da — bestie, this is the locale data manual for the Danish (da) locale 💖

(also hi, you're reading DateTim...ale::da(3) from the Perl User Contributed Perl Documentation — the truncated title is just the man page doing its little abbreviation thing, no cap 🙈)


🦋 DESCRIPTION 🦋

okay so this pod file is literally a whole showcase 💅 — it's packed with examples of all the locale data you can get for the Danish locale. Like, every single string the Danish locale knows about, laid out so you can see exactly what it looks like. Slay.


🌸 Days 🌸

Wide (format)

mandag
tirsdag
onsdag
torsdag
fredag
lørdag
søndag

Abbreviated (format)

man.
tirs.
ons.
tors.
fre.
lør.
søn.

Narrow (format)

M
T
O
T
F
L
S

Wide (stand-alone)

mandag
tirsdag
onsdag
torsdag
fredag
lørdag
søndag

Abbreviated (stand-alone)

man.
tirs.
ons.
tors.
fre.
lør.
søn.

Narrow (stand-alone)

M
T
O
T
F
L
S
not the narrow forms being a whole vibe check where T shows up twice 💀 that's tirsdag AND torsdag, iykyk

🎀 Months 🎀

Wide (format)

januar
februar
marts
april
maj
juni
juli
august
september
oktober
november
december

Abbreviated (format)

jan.
feb.
mar.
apr.
maj
jun.
jul.
aug.
sep.
okt.
nov.
dec.

Narrow (format)

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

Wide (stand-alone)

januar
februar
marts
april
maj
juni
juli
august
september
oktober
november
december

Abbreviated (stand-alone)

jan.
feb.
mar.
apr.
maj
jun.
jul.
aug.
sep.
okt.
nov.
dec.

Narrow (stand-alone)

J
F
M
A
M
J
J
A
S
O
N
D
bestie look at maj — it does not get a little dot in the abbreviated form and honestly? iconic of it 🫶 also yes there are like four Js and three Ms in the narrow set, that's just how it is 😭

⭐ Quarters ⭐

Wide (format)

1. kvartal
2. kvartal
3. kvartal
4. kvartal

Abbreviated (format)

1. kvt.
2. kvt.
3. kvt.
4. kvt.

Narrow (format)

1
2
3
4

Wide (stand-alone)

1. kvartal
2. kvartal
3. kvartal
4. kvartal

Abbreviated (stand-alone)

1. kvt.
2. kvt.
3. kvt.
4. kvt.

Narrow (stand-alone)

1
2
3
4

🔥 Eras 🔥

Wide (format)

før Kristus
efter Kristus

Abbreviated (format)

f.Kr.
e.Kr.

Narrow (format)

fKr
eKr
heads up bestie: eras are the one section here with no stand-alone variants — format only, that's it, periodt 💅

💜 Date Formats 💜

Full

2008-02-05T18:30:30 = tirsdag den 5. februar 2008
1995-12-22T09:05:02 = fredag den 22. december 1995
-0010-09-15T04:44:23 = lørdag den 15. september -10

Long

2008-02-05T18:30:30 = 5. februar 2008
1995-12-22T09:05:02 = 22. december 1995
-0010-09-15T04:44:23 = 15. september -10

Medium

2008-02-05T18:30:30 = 5. feb. 2008
1995-12-22T09:05:02 = 22. dec. 1995
-0010-09-15T04:44:23 = 15. sep. -10

Short

2008-02-05T18:30:30 = 05.02.2008
1995-12-22T09:05:02 = 22.12.1995
-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
the way Danish uses dots between the hours and minutes is genuinely so cute — 18.30 not 18:30, we love a period separator 🎀

🌈 Datetime Formats 🌈

Full

2008-02-05T18:30:30 = tirsdag den 5. februar 2008 18.30.30 UTC
1995-12-22T09:05:02 = fredag den 22. december 1995 09.05.02 UTC
-0010-09-15T04:44:23 = lørdag den 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. december 1995 09.05.02 UTC
-0010-09-15T04:44:23 = 15. september -10 04.44.23 UTC

Medium

2008-02-05T18:30:30 = 5. feb. 2008 18.30.30
1995-12-22T09:05:02 = 22. dec. 1995 09.05.02
-0010-09-15T04:44:23 = 15. sep. -10 04.44.23

Short

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

👑 Available Formats 👑

okay buckle up bestie, this is the long part — every named format with three worked examples. no skipping, we're doing all 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 = tirs.
1995-12-22T09:05:02 = fre.
-0010-09-15T04:44:23 = lør.

EBhm (E h.mm B)

2008-02-05T18:30:30 = tirs. 6.30 B
1995-12-22T09:05:02 = fre. 9.05 B
-0010-09-15T04:44:23 = lør. 4.44 B

EBhms (E h.mm.ss B)

2008-02-05T18:30:30 = tirs. 6.30.30 B
1995-12-22T09:05:02 = fre. 9.05.02 B
-0010-09-15T04:44:23 = lør. 4.44.23 B

EHm (E HH.mm)

2008-02-05T18:30:30 = tirs. 18.30
1995-12-22T09:05:02 = fre. 09.05
-0010-09-15T04:44:23 = lør. 04.44

EHms (E HH.mm.ss)

2008-02-05T18:30:30 = tirs. 18.30.30
1995-12-22T09:05:02 = fre. 09.05.02
-0010-09-15T04:44:23 = lør. 04.44.23

Ed (E 'den' d.)

2008-02-05T18:30:30 = tirs. den 5.
1995-12-22T09:05:02 = fre. den 22.
-0010-09-15T04:44:23 = lør. den 15.

Ehm (E h.mm a)

2008-02-05T18:30:30 = tirs. 6.30 PM
1995-12-22T09:05:02 = fre. 9.05 AM
-0010-09-15T04:44:23 = lør. 4.44 AM

Ehms (E h.mm.ss a)

2008-02-05T18:30:30 = tirs. 6.30.30 PM
1995-12-22T09:05:02 = fre. 9.05.02 AM
-0010-09-15T04:44:23 = lør. 4.44.23 AM

Gy (y G)

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

GyMMM (MMM y G)

2008-02-05T18:30:30 = feb. 2008 e.Kr.
1995-12-22T09:05:02 = dec. 1995 e.Kr.
-0010-09-15T04:44:23 = sep. -10 f.Kr.

GyMMMEd (E d. MMM y G)

2008-02-05T18:30:30 = tirs. 5. feb. 2008 e.Kr.
1995-12-22T09:05:02 = fre. 22. dec. 1995 e.Kr.
-0010-09-15T04:44:23 = lør. 15. sep. -10 f.Kr.

GyMMMd (d. MMM y G)

2008-02-05T18:30:30 = 5. feb. 2008 e.Kr.
1995-12-22T09:05:02 = 22. dec. 1995 e.Kr.
-0010-09-15T04:44:23 = 15. sep. -10 f.Kr.

GyMd (d.M.y GGGGG)

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

H (HH)

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

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 (M)

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 = tirs. 5.2
1995-12-22T09:05:02 = fre. 22.12
-0010-09-15T04:44:23 = lør. 15.9

MMM (MMM)

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

MMMEd (E d. MMM)

2008-02-05T18:30:30 = tirs. 5. feb.
1995-12-22T09:05:02 = fre. 22. dec.
-0010-09-15T04:44:23 = lør. 15. sep.

MMMMEd (E d. MMMM)

2008-02-05T18:30:30 = tirs. 5. februar
1995-12-22T09:05:02 = fre. 22. december
-0010-09-15T04:44:23 = lør. 15. september

MMMMW-count-one (W. 'uge' 'i' MMMM)

2008-02-05T18:30:30 = 1. uge i februar
1995-12-22T09:05:02 = 3. uge i december
-0010-09-15T04:44:23 = 2. uge i september

MMMMW-count-other (W. 'uge' 'i' MMMM)

2008-02-05T18:30:30 = 1. uge i februar
1995-12-22T09:05:02 = 3. uge i december
-0010-09-15T04:44:23 = 2. uge i september
bestie notice how MMMMW-count-one and MMMMW-count-other give you the same output here? yeah, both are listed, both are real, we're not merging them 💅

MMMMd (d. MMMM)

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

MMMd (d. MMM)

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

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

2008-02-05T18:30:30 = 6 PM
1995-12-22T09:05:02 = 9 AM
-0010-09-15T04:44:23 = 4 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 = tirs. 5.2.2008
1995-12-22T09:05:02 = fre. 22.12.1995
-0010-09-15T04:44:23 = lør. 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 = dec. 1995
-0010-09-15T04:44:23 = sep. -10

yMMMEd (E d. MMM y)

2008-02-05T18:30:30 = tirs. 5. feb. 2008
1995-12-22T09:05:02 = fre. 22. dec. 1995
-0010-09-15T04:44:23 = lør. 15. sep. -10

yMMMM (MMMM y)

and that's where this part of the page hands off to part 2, bestie 🫶 the list keeps going, don't you worry 💖

okay bestie, we're back mid-list and the Danish date energy is still immaculate 🇩🇰✨ the examples from the pattern we just covered go a lil something like:

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

yMMMd (d. MMM y) — short month name, day first, absolutely serving:

2008-02-05T18:30:30 = 5. feb. 2008
1995-12-22T09:05:02 = 22. dec. 1995
-0010-09-15T04:44:23 = 15. sep. -10

yMd (d.M.y) — the compact numeric look, no notes:

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 abbreviation realness:

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

yQQQQ (QQQQ y) — the full quarter name, highkey iconic:

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

yw-count-one ('uge' w 'i' Y) — week number with the singular/one form, and yes it's a whole vibe:

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

yw-count-other ('uge' w 'i' Y) — same energy for the other form, not me matching the examples exactly but that's what the page says 💅:

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

✨ Miscellaneous ✨

  • Prefers 24 hour time? — Yes
  • Local first day of the week — 1 (mandag)

🌸 Strftime Patterns 🌸

%c (%a %b %e %H:%M:%S %Y) — date time format, and look at the double space after feb., bestie, that's not a typo:

2008-02-05T18:30:30 = tirs. feb.  5 18:30:30 2008
1995-12-22T09:05:02 = fre. dec. 22 09:05:02 1995
-0010-09-15T04:44:23 = lør. sep. 15 04:44:23 -10

%x (%m/%d/%y) — date format, short and sweet:

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, 24-hour clock only:

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 Danish locale page, bestie — no cap. this absolute icon of a manpage is DateTim...ale::da(3), served fresh by perl v5.42.0 on 2024-12-12. periodt ✨🫶

📦 where this page comes from