DateTim...ale::nb(3)

💖 DateTim...ale::nb(3) — User Contributed Perl Documentation 💖

okay bestie, welcome to DateTim...ale::nb(3) — yes, the User Contributed Perl Documentation page — and it is literally all about the Norwegian Bokmål (nb) locale. This is part 1 of 2, and it is a whole tour, so grab a snack 🍓.

✨ NAME ✨

DateTime::Locale::nb — Locale data examples for the Norwegian Bokmål (nb) locale.

🦋 DESCRIPTION 🦋

This pod file contains examples of the locale data available for the Norwegian Bokmål locale. That is the whole bit. Now we are about to look at days, months, quarters, eras, date formats, time formats, datetime formats, and a big pile of available formats. No cap.

📅 Days 📅

🌸 Wide (format)

mandag
tirsdag
onsdag
torsdag
fredag
lørdag
søndag

🎀 Abbreviated (format)

man.
tir.
ons.
tor.
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.
tir.
ons.
tor.
fre.
lør.
søn.

💅 Narrow (stand-alone)

M
T
O
T
F
L
S

🌙 Months 🌙

🌸 Wide (format)

januar
februar
mars
april
mai
juni
juli
august
september
oktober
november
desember

🎀 Abbreviated (format)

jan.
feb.
mars
apr.
mai
juni
juli
aug.
sep.
okt.
nov.
des.

🦋 Narrow (format)

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

🌈 Wide (stand-alone)

januar
februar
mars
april
mai
juni
juli
august
september
oktober
november
desember

⭐ Abbreviated (stand-alone)

jan
feb
mar
apr
mai
jun
jul
aug
sep
okt
nov
des

💅 Narrow (stand-alone)

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

🧚 Quarters 🧚

🌸 Wide (format)

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

🎀 Abbreviated (format)

K1
K2
K3
K4

🦋 Narrow (format)

1.
2.
3.
4.

🌈 Wide (stand-alone)

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

⭐ Abbreviated (stand-alone)

K1
K2
K3
K4

💅 Narrow (stand-alone)

1.
2.
3.
4.

👑 Eras 👑

🌸 Wide (format)

før Kristus
etter Kristus

🎀 Abbreviated (format)

f.Kr.
e.Kr.

🦋 Narrow (format)

f.Kr.
e.Kr.

📆 Date Formats 📆

🌟 Full

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

✨ Long

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

💫 Medium

2008-02-05T18:30:30 = 5. feb. 2008
1995-12-22T09:05:02 = 22. des. 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

🌈 Datetime Formats 🌈

🌟 Full

2008-02-05T18:30:30 = tirsdag 5. februar 2008, 18:30:30 UTC
1995-12-22T09:05:02 = fredag 22. desember 1995, 09:05:02 UTC
-0010-09-15T04:44:23 = lørdag 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. desember 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. des. 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 🎀

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

EBhm (E h:mm B)

2008-02-05T18:30:30 = tir. 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 = tir. 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 'kl'. HH:mm)

2008-02-05T18:30:30 = tir. kl. 18:30
1995-12-22T09:05:02 = fre. kl. 09:05
-0010-09-15T04:44:23 = lør. kl. 04:44

EHms (E 'kl'. HH:mm:ss)

2008-02-05T18:30:30 = tir. kl. 18:30:30
1995-12-22T09:05:02 = fre. kl. 09:05:02
-0010-09-15T04:44:23 = lør. kl. 04:44:23

Ed (E d.)

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

Ehm (E h:mm a)

2008-02-05T18:30:30 = tir. 6:30 p.m.
1995-12-22T09:05:02 = fre. 9:05 a.m.
-0010-09-15T04:44:23 = lør. 4:44 a.m.

Ehms (E h:mm:ss a)

2008-02-05T18:30:30 = tir. 6:30:30 p.m.
1995-12-22T09:05:02 = fre. 9:05:02 a.m.
-0010-09-15T04:44:23 = lør. 4:44:23 a.m.

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 = des. 1995 e.Kr.
-0010-09-15T04:44:23 = sep. -10 f.Kr.

GyMMMEd (E d. MMM y G)

2008-02-05T18:30:30 = tir. 5. feb. 2008 e.Kr.
1995-12-22T09:05:02 = fre. 22. des. 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. des. 1995 e.Kr.
-0010-09-15T04:44:23 = 15. sep. -10 f.Kr.

GyMd (dd.MM.y GGGGG)

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

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

MMM (LLL)

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

MMMEd (E d. MMM)

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

MMMMW-count-one ('den' W. 'uken' 'i' MMMM)

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

MMMMW-count-other ('den' W. 'uken' 'i' MMMM)

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

MMMMd (d. MMMM)

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

MMMd (d. MMM)

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

MMdd (d.M.)

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

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 p.m.
1995-12-22T09:05:02 = 9 a.m.
-0010-09-15T04:44:23 = 4 a.m.

hm (h:mm a)

2008-02-05T18:30:30 = 6:30 p.m.
1995-12-22T09:05:02 = 9:05 a.m.
-0010-09-15T04:44:23 = 4:44 a.m.

hms (h:mm:ss a)

2008-02-05T18:30:30 = 6:30:30 p.m.
1995-12-22T09:05:02 = 9:05:02 a.m.
-0010-09-15T04:44:23 = 4:44:23 a.m.

hmsv (h:mm:ss a v)

2008-02-05T18:30:30 = 6:30:30 p.m. UTC
1995-12-22T09:05:02 = 9:05:02 a.m. UTC
-0010-09-15T04:44:23 = 4:44:23 a.m. UTC

hmv (h:mm a v)

2008-02-05T18:30:30 = 6:30 p.m. UTC
1995-12-22T09:05:02 = 9:05 a.m. UTC
-0010-09-15T04:44:23 = 4:44 a.m. 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 = tir. 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 = des. 1995
-0010-09-15T04:44:23 = sep. -10

yMMMEd (E d. MMM y)

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

yMMMM (MMMM y)

(the examples for this one pick up in part 2, bestie)

februar-core (the one whose name got cut off at the top of this part 💀)

Ok so this entry's format ID was literally in part 1, but the receipts are here, slay:

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

yMMMd (d. MMM y)

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

yMd (d.M.y)

          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)

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

yQQQQ (QQQQ y)

          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 ('uke' w 'i' Y)

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

yw-count-other ('uke' w 'i' Y)

          2008-02-05T18:30:30 = uke 6 i 2008
          1995-12-22T09:05:02 = uke 51 i 1995
         -0010-09-15T04:44:23 = uke 37 i -10
Yeah bestie, count-one and count-other are giving the exact same three lines. That's not a typo on my part, that's just what the page says. 💅

🌸 Miscellaneous 🌸

Prefers 24 hour time? Yes — no AM/PM chaos here, we're built different 😌

Local first day of the week 1 (mandag) — Monday is the main character of this week, periodt 🗓️


⭐ Strftime Patterns ⭐

%c (%a %b %e %H:%M:%S %Y) — date time format

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

%x (%m/%d/%y) — date format

          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

          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 🫶

Lowkey the support section is doing the absolute least and honestly? Iconic. It just says:

See DateTime::Locale.

That's it. That's the whole support system. Go read that page, bestie, it's got the lore ✨


🎀 and that's a wrap on DateTim...ale::nb(3) fr fr — brought to you by perl v5.42.0, dated 2024-12-12, which is giving vintage but make it cute 🎀

📦 where this page comes from