DateTim...e::en_DK(3)

πŸ’– DateTime::Locale::en_DK β€” locale data examples for the English Denmark (en-DK) locale πŸŽ€

okay bestie, so this is the perl doc for DateTime::Locale::en_DK β€” literally the manual page for the English Denmark locale data. it's giving "reference sheet but make it cute". sit down, grab a matcha, we're going through every single one of these. πŸ“


✨ DESCRIPTION ✨

this pod file is stacked with examples of the locale data you get for the English Denmark locale. no cap, it's all examples. πŸ’…

🌸 Days

Wide (format)

Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
Sunday

Abbreviated (format)

Mon
Tue
Wed
Thu
Fri
Sat
Sun

Narrow (format)

M
T
W
T
F
S
S

Wide (stand-alone)

Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
Sunday

Abbreviated (stand-alone)

Mon
Tue
Wed
Thu
Fri
Sat
Sun

Narrow (stand-alone)

M
T
W
T
F
S
S
🫢 yes there are two Ts, two Ss and two Ms in narrow. that's not a typo, that's just how narrow works. iykyk.

πŸ¦‹ Months

Wide (format)

January
February
March
April
May
June
July
August
September
October
November
December

Abbreviated (format)

Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sept
Oct
Nov
Dec
πŸ‘€ Sept is four letters, not three. en-DK said "we do what we want". iconic honestly.

Narrow (format)

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

Wide (stand-alone)

January
February
March
April
May
June
July
August
September
October
November
December

Abbreviated (stand-alone)

Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sept
Oct
Nov
Dec

Narrow (stand-alone)

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

πŸ’œ Quarters

Wide (format)

1st quarter
2nd quarter
3rd quarter
4th quarter

Abbreviated (format)

Q1
Q2
Q3
Q4

Narrow (format)

1
2
3
4

Wide (stand-alone)

1st quarter
2nd quarter
3rd quarter
4th quarter

Abbreviated (stand-alone)

Q1
Q2
Q3
Q4

Narrow (stand-alone)

1
2
3
4

🌈 Eras

Wide (format)

Before Christ
Anno Domini

Abbreviated (format)

BC
AD

Narrow (format)

B
A

πŸ”₯ Date Formats

Full

2008-02-05T18:30:30 = Tuesday, 5 February 2008
1995-12-22T09:05:02 = Friday, 22 December 1995
-0010-09-15T04:44:23 = Saturday, 15 September -10

Long

2008-02-05T18:30:30 = 5 February 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 Sept -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
🧚 Full and Long are literally the same output here. not me checking twice. that's just the data, bestie.

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
πŸ’… dots between the numbers, not colons. Denmark said "period is the separator" and honestly? slay.

πŸ‘‘ Datetime Formats

Full

2008-02-05T18:30:30 = Tuesday, 5 February 2008, 18.30.30 UTC
1995-12-22T09:05:02 = Friday, 22 December 1995, 09.05.02 UTC
-0010-09-15T04:44:23 = Saturday, 15 September -10, 04.44.23 UTC

Long

2008-02-05T18:30:30 = 5 February 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 Sept -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 so this is the big one β€” every named pattern in the locale. each bullet has the pattern name, the raw pattern in parens, and then the three reference datetimes. let's get into it 🫢

  • Bh β€” pattern h B
2008-02-05T18:30:30 = 6 B
1995-12-22T09:05:02 = 9 B
-0010-09-15T04:44:23 = 4 B
  • Bhm β€” pattern 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 β€” pattern 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 β€” pattern ccc
2008-02-05T18:30:30 = Tue
1995-12-22T09:05:02 = Fri
-0010-09-15T04:44:23 = Sat
  • EBhm β€” pattern E h:mm B
2008-02-05T18:30:30 = Tue 6:30 B
1995-12-22T09:05:02 = Fri 9:05 B
-0010-09-15T04:44:23 = Sat 4:44 B
  • EBhms β€” pattern E h:mm:ss B
2008-02-05T18:30:30 = Tue 6:30:30 B
1995-12-22T09:05:02 = Fri 9:05:02 B
-0010-09-15T04:44:23 = Sat 4:44:23 B
  • EHm β€” pattern E HH.mm
2008-02-05T18:30:30 = Tue 18.30
1995-12-22T09:05:02 = Fri 09.05
-0010-09-15T04:44:23 = Sat 04.44
  • EHms β€” pattern E HH.mm.ss
2008-02-05T18:30:30 = Tue 18.30.30
1995-12-22T09:05:02 = Fri 09.05.02
-0010-09-15T04:44:23 = Sat 04.44.23
  • Ed β€” pattern E d
2008-02-05T18:30:30 = Tue 5
1995-12-22T09:05:02 = Fri 22
-0010-09-15T04:44:23 = Sat 15
  • Ehm β€” pattern E h.mm a
2008-02-05T18:30:30 = Tue 6.30 pm
1995-12-22T09:05:02 = Fri 9.05 am
-0010-09-15T04:44:23 = Sat 4.44 am
  • Ehm-alt-ascii β€” pattern E h.mm a
2008-02-05T18:30:30 = Tue 6.30 pm
1995-12-22T09:05:02 = Fri 9.05 am
-0010-09-15T04:44:23 = Sat 4.44 am
  • Ehms β€” pattern E h.mm.ss a
2008-02-05T18:30:30 = Tue 6.30.30 pm
1995-12-22T09:05:02 = Fri 9.05.02 am
-0010-09-15T04:44:23 = Sat 4.44.23 am
  • Ehms-alt-ascii β€” pattern E h.mm.ss a
2008-02-05T18:30:30 = Tue 6.30.30 pm
1995-12-22T09:05:02 = Fri 9.05.02 am
-0010-09-15T04:44:23 = Sat 4.44.23 am
🩷 the -alt-ascii variants exist so you get a plain ASCII a instead of the fancy one. same output, different vibes.
  • Gy β€” pattern y G
2008-02-05T18:30:30 = 2008 AD
1995-12-22T09:05:02 = 1995 AD
-0010-09-15T04:44:23 = -10 BC
  • GyMMM β€” pattern MMM y G
2008-02-05T18:30:30 = Feb 2008 AD
1995-12-22T09:05:02 = Dec 1995 AD
-0010-09-15T04:44:23 = Sept -10 BC
  • GyMMMEd β€” pattern E, d MMM y G
2008-02-05T18:30:30 = Tue, 5 Feb 2008 AD
1995-12-22T09:05:02 = Fri, 22 Dec 1995 AD
-0010-09-15T04:44:23 = Sat, 15 Sept -10 BC
  • GyMMMd β€” pattern d MMM y G
2008-02-05T18:30:30 = 5 Feb 2008 AD
1995-12-22T09:05:02 = 22 Dec 1995 AD
-0010-09-15T04:44:23 = 15 Sept -10 BC
  • GyMd β€” pattern d/M/y G
2008-02-05T18:30:30 = 5/2/2008 AD
1995-12-22T09:05:02 = 22/12/1995 AD
-0010-09-15T04:44:23 = 15/9/-10 BC
  • H β€” pattern HH
2008-02-05T18:30:30 = 18
1995-12-22T09:05:02 = 09
-0010-09-15T04:44:23 = 04
  • Hm β€” pattern HH.mm
2008-02-05T18:30:30 = 18.30
1995-12-22T09:05:02 = 09.05
-0010-09-15T04:44:23 = 04.44
  • Hms β€” pattern 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 β€” pattern 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 β€” pattern 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 β€” pattern L
2008-02-05T18:30:30 = 2
1995-12-22T09:05:02 = 12
-0010-09-15T04:44:23 = 9
  • MEd β€” pattern E, dd/MM
2008-02-05T18:30:30 = Tue, 05/02
1995-12-22T09:05:02 = Fri, 22/12
-0010-09-15T04:44:23 = Sat, 15/09
  • MMM β€” pattern LLL
2008-02-05T18:30:30 = Feb
1995-12-22T09:05:02 = Dec
-0010-09-15T04:44:23 = Sept
  • MMMEd β€” pattern E, d MMM
2008-02-05T18:30:30 = Tue, 5 Feb
1995-12-22T09:05:02 = Fri, 22 Dec
-0010-09-15T04:44:23 = Sat, 15 Sept
  • MMMMW-count-one β€” pattern 'week' W 'of' MMMM
2008-02-05T18:30:30 = week 1 of February
1995-12-22T09:05:02 = week 3 of December
-0010-09-15T04:44:23 = week 2 of September
  • MMMMW-count-other β€” pattern 'week' W 'of' MMMM
2008-02-05T18:30:30 = week 1 of February
1995-12-22T09:05:02 = week 3 of December
-0010-09-15T04:44:23 = week 2 of September
πŸ’€ count-one and count-other give you the exact same output here. plural rules said "not today". still both listed tho, because completeness is the moment.
  • MMMMd β€” pattern d MMMM
2008-02-05T18:30:30 = 5 February
1995-12-22T09:05:02 = 22 December
-0010-09-15T04:44:23 = 15 September
  • MMMd β€” pattern d MMM
2008-02-05T18:30:30 = 5 Feb
1995-12-22T09:05:02 = 22 Dec
-0010-09-15T04:44:23 = 15 Sept
  • MMdd β€” pattern dd/MM
2008-02-05T18:30:30 = 05/02
1995-12-22T09:05:02 = 22/12
-0010-09-15T04:44:23 = 15/09
  • Md β€” pattern dd/MM
2008-02-05T18:30:30 = 05/02
1995-12-22T09:05:02 = 22/12
-0010-09-15T04:44:23 = 15/09
  • d β€” pattern d
2008-02-05T18:30:30 = 5
1995-12-22T09:05:02 = 22
-0010-09-15T04:44:23 = 15
  • h β€” pattern h a
2008-02-05T18:30:30 = 6 pm
1995-12-22T09:05:02 = 9 am
-0010-09-15T04:44:23 = 4 am
  • h-alt-ascii β€” pattern h a
2008-02-05T18:30:30 = 6 pm
1995-12-22T09:05:02 = 9 am
-0010-09-15T04:44:23 = 4 am
  • hm β€” pattern 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
  • hm-alt-ascii β€” pattern 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 β€” pattern 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
  • hms-alt-ascii β€” pattern 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 β€” pattern 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
  • hmsv-alt-ascii β€” pattern 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 β€” pattern 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
  • hmv-alt-ascii β€” pattern 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 β€” pattern mm.ss
2008-02-05T18:30:30 = 30.30
1995-12-22T09:05:02 = 05.02
-0010-09-15T04:44:23 = 44.23
  • y β€” pattern y
2008-02-05T18:30:30 = 2008
1995-12-22T09:05:02 = 1995
-0010-09-15T04:44:23 = -10
  • yM β€” pattern MM/y
2008-02-05T18:30:30 = 02/2008
1995-12-22T09:05:02 = 12/1995
-0010-09-15T04:44:23 = 09/-10

…and that's that one done, bestie, moving on ✨

yMEd β€” E, dd/MM/y

2008-02-05T18:30:30 = Tue, 05/02/2008
1995-12-22T09:05:02 = Fri, 22/12/1995
-0010-09-15T04:44:23 = Sat, 15/09/-10

yMMM β€” MMM y

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

(not me clocking that it says Sept and not Sep β€” the data said what it said, i don't make the rules πŸ’…)

yMMMEd β€” E, d MMM y

2008-02-05T18:30:30 = Tue, 5 Feb 2008
1995-12-22T09:05:02 = Fri, 22 Dec 1995
-0010-09-15T04:44:23 = Sat, 15 Sept -10

yMMMM β€” MMMM y

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

full government name energy, we love to see it πŸ‘‘

yMMMd β€” d MMM y

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

yMd β€” dd/MM/y

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

yQQQ β€” QQQ y

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

yQQQQ β€” QQQQ y

2008-02-05T18:30:30 = 1st quarter 2008
1995-12-22T09:05:02 = 4th quarter 1995
-0010-09-15T04:44:23 = 3rd quarter -10

yw-count-one β€” 'week' w 'of' Y

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

yw-count-other β€” 'week' w 'of' Y

2008-02-05T18:30:30 = week 6 of 2008
1995-12-22T09:05:02 = week 51 of 1995
-0010-09-15T04:44:23 = week 37 of -10
yes, yw-count-one and yw-count-other are serving the exact same three lines. that's not a typo on my end, that's literally what's in there. matching outfits fr fr 🫢

πŸ¦‹ Miscellaneous πŸ¦‹

Prefers 24 hour time?

Yes πŸ™Œ (no AM/PM chaos here, we're civilized)

Local first day of the week

1 (Monday)

like, obviously. monday girlies rise 🧚


🌈 Strftime Patterns ⏰

%c (%Y-%m-%dT%T %Z) β€” date time format

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

%x (%Y-%m-%d) β€” date format

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

%X (%T) β€” 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

see how %X is just %T in a trench coat? iconic behavior πŸ’…


πŸ’– SUPPORT πŸ’–

See DateTime::Locale.

that's it. that's the whole support section. go read that one, bestie, it's got the lore πŸ“š


and that's a wrap on the whole page, bestie!! πŸŽ€ this beauty came to you courtesy of perl v5.42.0, dated 2024-12-12, filed under DateTim...e::en_DK(3) β€” yes the name is truncated with dots in the middle, no i don't know why, and yes it is still that girl πŸŒΈπŸ’œ go format some dates, you've got this ✨

πŸ“¦ where this page comes from