DateTim...ale::no(3)

💅 DateTime::Locale::no(3) — User Contributed Perl Documentation

okay so bestie, welcome to the Norwegian locale data page 💖 the actual manual name is DateTim...ale::no(3) (yes it's truncated, that's just how it's printed, don't come for her) and this is the pod file for DateTime::Locale::no — the Norwegian (no) locale. Slay.


✨ NAME ✨

DateTime::Locale::no — locale data examples for the Norwegian (no) locale 🎀


🌸 DESCRIPTION 🌸

so this pod file is literally just a big ol' show-and-tell of the locale data you get for the Norwegian locale. every example, every format, all of it. 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
🫶 heads up bestie: the stand-alone abbreviated months drop the little dot period — jan vs jan. — that's not a typo, that's the data.

💜 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 👑

okay this next bit is the big one — every named format with its pattern in parentheses, and the three sample timestamps rendered through it. iconic, honestly. each heading is name (pattern) and the code block below is timestamp = output. 💅

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)

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

Next up, yMMMd (pattern d. MMM y) — the short-month icon:

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) — the little number-only one, very minimal of her:

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, but make it short:

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

yQQQQ (QQQQ y) — quarter, but spelled all the way out, she's feeling verbose:

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) — week-of-year, the one flavour (yep, Norwegian's got plural categories, we love a grammatical category system 💅):

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) — and the other flavour, which lowkey looks identical here but bestie, they're separate keys and we respect both of them:

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

🌸 Miscellaneous 🌸

Does she prefer 24 hour time? Yes — no am/pm nonsense here, it's giving military precision.

Local first day of the week? 1 (mandag). Monday main character energy, honestly correct of her.


⭐ Strftime Patterns ⭐

These are the classic strftime escapes, in case you're rolling old-school instead of using the CLDR patterns above.

  • %c (%a %b %e %H:%M:%S %Y) — the full 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) — the 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) — the 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 🫶

Need backup? See DateTime::Locale. That's the whole support section, she's low-maintenance like that. ✨


And that's the whole vibe check on Norwegian locale data — perl v5.42.0, dated 2024-12-12, filed under DateTim...ale::no(3) (the truncated name is not a typo, that's just how the manpage filename got cut off, don't come for her 😭). Go format some dates, bestie, you've got this 💖

📦 where this page comes from