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 twoTs, twoSs and twoMs 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β patternh B
2008-02-05T18:30:30 = 6 B
1995-12-22T09:05:02 = 9 B
-0010-09-15T04:44:23 = 4 B
Bhmβ patternh: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β patternh: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β patternccc
2008-02-05T18:30:30 = Tue
1995-12-22T09:05:02 = Fri
-0010-09-15T04:44:23 = Sat
EBhmβ patternE 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β patternE 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β patternE 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β patternE 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β patternE d
2008-02-05T18:30:30 = Tue 5
1995-12-22T09:05:02 = Fri 22
-0010-09-15T04:44:23 = Sat 15
Ehmβ patternE 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β patternE 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β patternE 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β patternE 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-asciivariants exist so you get a plain ASCIIainstead of the fancy one. same output, different vibes.
Gyβ patterny G
2008-02-05T18:30:30 = 2008 AD
1995-12-22T09:05:02 = 1995 AD
-0010-09-15T04:44:23 = -10 BC
GyMMMβ patternMMM 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β patternE, 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β patternd 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β patternd/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β patternHH
2008-02-05T18:30:30 = 18
1995-12-22T09:05:02 = 09
-0010-09-15T04:44:23 = 04
Hmβ patternHH.mm
2008-02-05T18:30:30 = 18.30
1995-12-22T09:05:02 = 09.05
-0010-09-15T04:44:23 = 04.44
Hmsβ patternHH.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β patternHH.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β patternHH.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β patternL
2008-02-05T18:30:30 = 2
1995-12-22T09:05:02 = 12
-0010-09-15T04:44:23 = 9
MEdβ patternE, 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β patternLLL
2008-02-05T18:30:30 = Feb
1995-12-22T09:05:02 = Dec
-0010-09-15T04:44:23 = Sept
MMMEdβ patternE, 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-oneandcount-othergive you the exact same output here. plural rules said "not today". still both listed tho, because completeness is the moment.
MMMMdβ patternd MMMM
2008-02-05T18:30:30 = 5 February
1995-12-22T09:05:02 = 22 December
-0010-09-15T04:44:23 = 15 September
MMMdβ patternd MMM
2008-02-05T18:30:30 = 5 Feb
1995-12-22T09:05:02 = 22 Dec
-0010-09-15T04:44:23 = 15 Sept
MMddβ patterndd/MM
2008-02-05T18:30:30 = 05/02
1995-12-22T09:05:02 = 22/12
-0010-09-15T04:44:23 = 15/09
Mdβ patterndd/MM
2008-02-05T18:30:30 = 05/02
1995-12-22T09:05:02 = 22/12
-0010-09-15T04:44:23 = 15/09
dβ patternd
2008-02-05T18:30:30 = 5
1995-12-22T09:05:02 = 22
-0010-09-15T04:44:23 = 15
hβ patternh 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β patternh a
2008-02-05T18:30:30 = 6 pm
1995-12-22T09:05:02 = 9 am
-0010-09-15T04:44:23 = 4 am
hmβ patternh.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β patternh.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β patternh.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β patternh.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β patternh.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β patternh.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β patternh.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β patternh.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β patternmm.ss
2008-02-05T18:30:30 = 30.30
1995-12-22T09:05:02 = 05.02
-0010-09-15T04:44:23 = 44.23
yβ patterny
2008-02-05T18:30:30 = 2008
1995-12-22T09:05:02 = 1995
-0010-09-15T04:44:23 = -10
yMβ patternMM/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-oneandyw-count-otherare 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
- opensuse-leap 16.0: perl-DateTime-Locale 1.440000-160000.2.2 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms