DateTim...e::en_AE(3)
π NAME π
DateTime::Locale::en_AE β okay bestie, this is the locale data examples page for the English United Arab Emirates (en-AE) locale. That's it, that's the whole job. It's user-contributed Perl documentation, and it's basically a giant show-and-tell of what every date and time looks like in this locale. π
β¨
πΈ DESCRIPTION πΈ
This pod file is literally just examples of the locale data that's available for the English United Arab Emirates locale. No cap β it's a lookbook. Every day name, month name, quarter, era, and format pattern this locale ships, all laid out so you can vibe-check them. π¦
π Days
Wide (format) β the full government names, in order:
Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday
Abbreviated (format) β the three-letter versions:
Mon, Tue, Wed, Thu, Fri, Sat, Sun
Narrow (format) β first letter only, and yes the duplicates are real, that's the entire bit:
M, T, W, T, F, S, S
Wide (stand-alone) β same as wide format, slaying on its own:
Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday
Abbreviated (stand-alone):
Mon, Tue, Wed, Thu, Fri, Sat, Sun
Narrow (stand-alone) β again with the twin Ts and Ss, it's giving chaos but it's correct:
M, T, W, T, F, S, S
π¦ Months
Wide (format) β all twelve, no skips:
January, February, March, April, May, June, July, August, September, October, November, December
Abbreviated (format):
Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec
Narrow (format) β single letters, and yes M shows up twice and J shows up three times, don't @ me, that's just how narrow works:
J, F, M, A, M, J, J, A, S, O, N, D
Wide (stand-alone) β iconic on its own:
January, February, March, April, May, June, July, August, September, October, November, December
Abbreviated (stand-alone):
Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec
Narrow (stand-alone):
J, F, M, A, M, J, J, A, S, O, N, D
π§ Quarters
Wide (format) β spelled all the way out:
1st quarter, 2nd quarter, 3rd quarter, 4th quarter
Abbreviated (format) β cute and compact:
Q1, Q2, Q3, Q4
Narrow (format) β just the digit, minimalism:
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
Heads up bestie β quarters get stand-alone variants, but eras don't. Keep reading, you'll see. π
π Eras
Wide (format) β the full dramatic versions:
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 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 = 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
β° Long
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
β° Medium
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
β° Short
2008-02-05T18:30:30 = 6:30 PM
1995-12-22T09:05:02 = 9:05 AM
-0010-09-15T04:44:23 = 4:44 AM
π Datetime Formats
π₯ Full
2008-02-05T18:30:30 = Tuesday, 5 February 2008, 6:30:30 PM UTC
1995-12-22T09:05:02 = Friday, 22 December 1995, 9:05:02 AM UTC
-0010-09-15T04:44:23 = Saturday, 15 September -10, 4:44:23 AM UTC
π₯ Long
2008-02-05T18:30:30 = 5 February 2008, 6:30:30 PM UTC
1995-12-22T09:05:02 = 22 December 1995, 9:05:02 AM UTC
-0010-09-15T04:44:23 = 15 September -10, 4:44:23 AM UTC
π₯ Medium
2008-02-05T18:30:30 = 5 Feb 2008, 6:30:30 PM
1995-12-22T09:05:02 = 22 Dec 1995, 9:05:02 AM
-0010-09-15T04:44:23 = 15 Sep -10, 4:44:23 AM
π₯ Short
2008-02-05T18:30:30 = 05/02/2008, 6:30 PM
1995-12-22T09:05:02 = 22/12/1995, 9:05 AM
-0010-09-15T04:44:23 = 15/09/-10, 4:44 AM
π Available Formats
Okay so this is the part where every single named format pattern gets its own little moment. Each one shows the same three timestamps so you can see exactly what it produces. Obsessed with the consistency, honestly.
π 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 = Sep -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 Sep -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 Sep -10 BC
π GyMd (M/d/y G)
2008-02-05T18:30:30 = 2/5/2008 AD
1995-12-22T09:05:02 = 12/22/1995 AD
-0010-09-15T04:44:23 = 9/15/-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 = Sep
π 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 Sep
π 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
Yes bestie, the-count-oneand-count-otherversions are identical here. That's not a typo, that's just what this locale does. π«Ά
π 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 Sep
π 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)
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 (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 (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)
β¦and that's exactly where this half of the page runs out, bestie β the y format's examples are still coming. πΈ
y(y) β just the year, by itself, zero drama β¨
2008-02-05T18:30:30 = 2008
1995-12-22T09:05:02 = 1995
-0010-09-15T04:44:23 = -10
yM(MM/y) β month-then-year, slashed together π
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) β weekday first, then the day/month/year trio π
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) β short month name, then the year π¦
2008-02-05T18:30:30 = Feb 2008
1995-12-22T09:05:02 = Dec 1995
-0010-09-15T04:44:23 = Sep -10
yMMMEd(E, d MMM y) β the full little stack: weekday, day, short month, year πΈ
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 Sep -10
yMMMM(MMMM y) β the full month name, un-abbreviated, living its truth π
2008-02-05T18:30:30 = February 2008
1995-12-22T09:05:02 = December 1995
-0010-09-15T04:44:23 = September -10
yMMMd(d MMM y) β day, short month, year. short n sweet π
2008-02-05T18:30:30 = 5 Feb 2008
1995-12-22T09:05:02 = 22 Dec 1995
-0010-09-15T04:44:23 = 15 Sep -10
yMd(dd/MM/y) β day/month/year, all numeric, no notes π₯
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) β abbreviated quarter plus year, iykyk π§
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 whole quarter spelled out, main character energy π
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 of the year, singular flavour π«Ά
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) β same vibe, "other" plural flavour. literally identical output here, no cap π
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 π
Random little locale facts that don't fit anywhere else, and yet? iconic.
- Prefers 24 hour time? β
No - Local first day of the week β
1(Monday)
So yeah, the week starts on Monday here, and the clock is on 12-hour time. noted. π
β° Strftime Patterns β°
The classic strftime-style escapes, in case your code is old-school like that. retro but make it slay.
%c(%a %b %e %H:%M:%S %Y) β date time format π
2008-02-05T18:30:30 = Tue Feb 5 18:30:30 2008
1995-12-22T09:05:02 = Fri Dec 22 09:05:02 1995
-0010-09-15T04:44:23 = Sat Sep 15 04:44:23 -10
notice the double space inTue Feb 5β that's%edoing its space-padded thing, it's not a typo bestie, don't touch it π
%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 π
Where do you go for more? Simple:
See DateTime::Locale.
That's the whole support section. go off, read the docs, you got this π
β¨ okay that's the whole page, you made it to the end, so proud of you β¨
This one's from the User Contributed Perl Documentation crew, shipped with perl v5.42.0 and dated 2024-12-12 β it's the DateTime::Locale page for en_AE, bestie, go format some dates πππ«Ά
π¦ 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