DateTim...e::en_GB(3)
bestie, you're looking at DateTime::Locale::en_GB β yes, the DateTim...e::en_GB(3) page from the User Contributed Perl Documentation π
. It's literally locale data examples for the English United Kingdom (en-GB) locale, and it's giving reference-material excellence β¨.
π NAME π
DateTime::Locale::en_GB β locale data examples for the English United Kingdom (en-GB) locale π«Ά
β¨ DESCRIPTION β¨
okay so this pod file contains examples of the locale data available for the English United Kingdom locale. No cap, it's a whole buffet of en-GB date and time formatting π.
πΈ 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
π 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
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
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 = 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 π
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 = Tue
1995-12-22T09:05:02 = Fri
-0010-09-15T04:44:23 = Sat
EBhm (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 (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 (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 (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 (E d) π«Ά
2008-02-05T18:30:30 = Tue 5
1995-12-22T09:05:02 = Fri 22
-0010-09-15T04:44:23 = Sat 15
Ehm (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 (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 (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 (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
Gy (y G) π
2008-02-05T18:30:30 = 2008 AD
1995-12-22T09:05:02 = 1995 AD
-0010-09-15T04:44:23 = -10 BC
GyMMM (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
GyMMMEEEEd (EEEE, d MMM y G) π
2008-02-05T18:30:30 = Tuesday, 5 Feb 2008 AD
1995-12-22T09:05:02 = Friday, 22 Dec 1995 AD
-0010-09-15T04:44:23 = Saturday, 15 Sept -10 BC
GyMMMEd (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 (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 (dd/MM/y G) π¦
2008-02-05T18:30:30 = 05/02/2008 AD
1995-12-22T09:05:02 = 22/12/1995 AD
-0010-09-15T04:44:23 = 15/09/-10 BC
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 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 (LLL) π¦
2008-02-05T18:30:30 = Feb
1995-12-22T09:05:02 = Dec
-0010-09-15T04:44:23 = Sept
MMMEEEEd (EEEE d MMM) β
2008-02-05T18:30:30 = Tuesday 5 Feb
1995-12-22T09:05:02 = Friday 22 Dec
-0010-09-15T04:44:23 = Saturday 15 Sept
MMMEd (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
MMMMEEEEd (EEEE d MMMM) π
2008-02-05T18:30:30 = Tuesday 5 February
1995-12-22T09:05:02 = Friday 22 December
-0010-09-15T04:44:23 = Saturday 15 September
MMMMW-count-one ('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 ('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
MMMMd (d MMMM) π«Ά
2008-02-05T18:30:30 = 5 February
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 Sept
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 (dd/MM) β
2008-02-05T18:30:30 = 05/02
1995-12-22T09:05:02 = 22/12
-0010-09-15T04:44:23 = 15/09
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
h-alt-ascii (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
hm-alt-ascii (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
hms-alt-ascii (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
hmsv-alt-ascii (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)
hmv-alt-ascii (h:mm a v)
bestie this one is the ascii-only twin of the hour/minute vibe β 12-hour clock, am/pm in lowercase, plus the timezone name π
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)
literally just minutes and seconds, no thoughts head empty π«Ά
2008-02-05T18:30:30 = 30:30
1995-12-22T09:05:02 = 05:02
-0010-09-15T04:44:23 = 44:23
y (y)
the year. that's it. that's the whole format π
2008-02-05T18:30:30 = 2008
1995-12-22T09:05:02 = 1995
-0010-09-15T04:44:23 = -10
yM (MM/y)
month-then-year, all slashed up β¨
2008-02-05T18:30:30 = 02/2008
1995-12-22T09:05:02 = 12/1995
-0010-09-15T04:44:23 = 09/-10
yMEd (E, dd/MM/y)
day name first, then the numeric date in all its dd/MM/y glory π
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)
abbreviated month + year, short and slay πΈ
2008-02-05T18:30:30 = Feb 2008
1995-12-22T09:05:02 = Dec 1995
-0010-09-15T04:44:23 = Sept -10
yMMMEEEEd (EEEE, d MMM y)
the full-day-name flex, abbreviated month, no leading zero on the day β very main character energy π
2008-02-05T18:30:30 = Tuesday, 5 Feb 2008
1995-12-22T09:05:02 = Friday, 22 Dec 1995
-0010-09-15T04:44:23 = Saturday, 15 Sept -10
yMMMEd (E, d MMM y)
same vibe as above but the day name gets abbreviated, okurrr π¦
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)
full month name, no abbreviations, we're fancy now π
2008-02-05T18:30:30 = February 2008
1995-12-22T09:05:02 = December 1995
-0010-09-15T04:44:23 = September -10
yMMMMEEEEd (EEEE, d MMMM y)
maximum typography: full day name, full month name, the works πβ¨
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
yMMMd (d MMM y)
day first, abbreviated month, year last β the lowkey classic π
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)
numbers only bestie, day then month then year π
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)
quarter o'clock, abbreviated π
2008-02-05T18:30:30 = Q1 2008
1995-12-22T09:05:02 = Q4 1995
-0010-09-15T04:44:23 = Q3 -10
yQQQQ (QQQQ y)
the full 1st / 4th / 3rd quarter spelling, because we're being thorough today π§
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)
week number (case one) spelled out with the word week and of π
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)
and here's the other case β identical output, but the locale lists it separately, so it gets its own little spotlight β¨
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
π Miscellaneous π
okay these are the little locale quirks that don't fit anywhere else:
- Prefers 24 hour time? β
Yes(we're not doing your 12-hour nonsense over here, periodt π ) - Local first day of the week β
1 (Monday)β yes bestie, the week starts on Monday, as it should π
β° Strftime Patterns β°
%c (%a %d %b %Y %T %Z) - date time format
the whole date and the whole time, stitched together with a timezone chaser π₯
2008-02-05T18:30:30 = Tue 05 Feb 2008 18:30:30 UTC
1995-12-22T09:05:02 = Fri 22 Dec 1995 09:05:02 UTC
-0010-09-15T04:44:23 = Sat 15 Sept -10 04:44:23 UTC
%x (%d/%m/%y) - date format
date only, with that crunchy two-digit year πΈ
2008-02-05T18:30:30 = 05/02/08
1995-12-22T09:05:02 = 22/12/95
-0010-09-15T04:44:23 = 15/09/10
%X (%T) - time format
time only, and note that it's literally just %T doing the work π¦
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. that's the whole support section bestie, go read the real one ππ
and that's the page!! π brought to you by perl v5.42.0, dated 2024-12-12 β drink some water, go format a timestamp, and remember: en_GB said 24-hour time rights π
β¨π
π¦ 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