DateTim...:ms_Arab(3)

๐Ÿฆ‹ DateTime::Locale::ms_Arab ๐Ÿฆ‹

okay so real talk โ€” this is a page straight out of the User Contributed Perl Documentation, the manpage DateTim...:ms_Arab(3), and it's basically the Malay Arabic (ms-Arab) locale showing off every single one of its little data fits ๐Ÿ’… no cap, it's just examples top to bottom and we're gonna look at all of them together. grab a snack ๐Ÿ“


โœจ NAME โœจ

DateTime::Locale::ms_Arab โ€” Locale data examples for the Malay Arabic (ms-Arab) locale ๐ŸŽ€

๐ŸŒธ DESCRIPTION ๐ŸŒธ

This pod file contains examples of the locale data available for the Malay Arabic locale. that's the whole assignment, bestie โ€” it's a showcase ๐Ÿซถ


๐Ÿ—“๏ธ Days

Wide (format)

Mon
Tue
Wed
Thu
Fri
Sat
Sun

Abbreviated (format)

Mon
Tue
Wed
Thu
Fri
Sat
Sun

Narrow (format)

M
T
W
T
F
S
S

Wide (stand-alone)

Mon
Tue
Wed
Thu
Fri
Sat
Sun

Abbreviated (stand-alone)

Mon
Tue
Wed
Thu
Fri
Sat
Sun

Narrow (stand-alone)

M
T
W
T
F
S
S

๐ŸŽ€ Months

Wide (format)

M01
M02
M03
M04
M05
M06
M07
M08
M09
M10
M11
M12

Abbreviated (format)

M01
M02
M03
M04
M05
M06
M07
M08
M09
M10
M11
M12

Narrow (format)

1
2
3
4
5
6
7
8
9
10
11
12

Wide (stand-alone)

M01
M02
M03
M04
M05
M06
M07
M08
M09
M10
M11
M12

Abbreviated (stand-alone)

M01
M02
M03
M04
M05
M06
M07
M08
M09
M10
M11
M12

Narrow (stand-alone)

1
2
3
4
5
6
7
8
9
10
11
12

๐Ÿฆ‹ Quarters

Wide (format)

Q1
Q2
Q3
Q4

Abbreviated (format)

Q1
Q2
Q3
Q4

Narrow (format)

1
2
3
4

Wide (stand-alone)

Q1
Q2
Q3
Q4

Abbreviated (stand-alone)

Q1
Q2
Q3
Q4

Narrow (stand-alone)

1
2
3
4

๐ŸŒˆ Eras

Wide (format)

BCE
CE

Abbreviated (format)

BCE
CE

Narrow (format)

BCE
CE

๐Ÿ’– Date Formats

Full

2008-02-05T18:30:30 = TueุŒ 5 M02 2008
1995-12-22T09:05:02 = FriุŒ 22 M12 1995
-0010-09-15T04:44:23 = SatุŒ 15 M09 -10

Long

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

Medium

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

Short

2008-02-05T18:30:30 = 5/02/08
1995-12-22T09:05:02 = 22/12/95
-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 = TueุŒ 5 M02 2008 6:30:30 PM UTC
1995-12-22T09:05:02 = FriุŒ 22 M12 1995 9:05:02 AM UTC
-0010-09-15T04:44:23 = SatุŒ 15 M09 -10 4:44:23 AM UTC

Long

2008-02-05T18:30:30 = 5 M02 2008 6:30:30 PM UTC
1995-12-22T09:05:02 = 22 M12 1995 9:05:02 AM UTC
-0010-09-15T04:44:23 = 15 M09 -10 4:44:23 AM UTC

Medium

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

Short

2008-02-05T18:30:30 = 5/02/08 6:30 PM
1995-12-22T09:05:02 = 22/12/95 9:05 AM
-0010-09-15T04:44:23 = 15/09/-10 4:44 AM

๐Ÿ‘‘ Available Formats

okay this is the big one, the whole collection, every named pattern this locale ships with ๐ŸŽ€

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 (d E)

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

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

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

Gy (G y)

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

GyMMM (G y MMM)

2008-02-05T18:30:30 = CE 2008 M02
1995-12-22T09:05:02 = CE 1995 M12
-0010-09-15T04:44:23 = BCE -10 M09

GyMMMEd (G y MMM d, E)

2008-02-05T18:30:30 = CE 2008 M02 5, Tue
1995-12-22T09:05:02 = CE 1995 M12 22, Fri
-0010-09-15T04:44:23 = BCE -10 M09 15, Sat

GyMMMd (G y MMM d)

2008-02-05T18:30:30 = CE 2008 M02 5
1995-12-22T09:05:02 = CE 1995 M12 22
-0010-09-15T04:44:23 = BCE -10 M09 15

GyMd (GGGGG y-MM-dd)

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

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

Hmm (H:mm)

2008-02-05T18:30:30 = 18:30
1995-12-22T09:05:02 = 9:05
-0010-09-15T04:44:23 = 4: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 = TueุŒ 5-2
1995-12-22T09:05:02 = FriุŒ 22-12
-0010-09-15T04:44:23 = SatุŒ 15-9

MMM (LLL)

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

MMMEd (EุŒ d MMM)

2008-02-05T18:30:30 = TueุŒ 5 M02
1995-12-22T09:05:02 = FriุŒ 22 M12
-0010-09-15T04:44:23 = SatุŒ 15 M09

MMMMW-count-other ('week' W 'of' MMMM)

2008-02-05T18:30:30 = week 1 of M02
1995-12-22T09:05:02 = week 3 of M12
-0010-09-15T04:44:23 = week 2 of M09

MMMMd (d MMMM)

2008-02-05T18:30:30 = 5 M02
1995-12-22T09:05:02 = 22 M12
-0010-09-15T04:44:23 = 15 M09

MMMd (d MMM)

2008-02-05T18:30:30 = 5 M02
1995-12-22T09:05:02 = 22 M12
-0010-09-15T04:44:23 = 15 M09

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 (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 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

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

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

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

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 = TueุŒ 5/2/2008
1995-12-22T09:05:02 = FriุŒ 22/12/1995
-0010-09-15T04:44:23 = SatุŒ 15/9/-10

yMMM (MMM y)

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

yMMMEd (EุŒ d MMM y)

2008-02-05T18:30:30 = TueุŒ 5 M02 2008
1995-12-22T09:05:02 = FriุŒ 22 M12 1995
-0010-09-15T04:44:23 = SatุŒ 15 M09 -10

yMMMM (y MMMM)

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

yMMMd (d MMM y)

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

yMd (d/M/y)

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)

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 = Q1 2008
1995-12-22T09:05:02 = Q4 1995
-0010-09-15T04:44:23 = Q3 -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

๐Ÿงš Miscellaneous

Prefers 24 hour time?

โœจ

Alright bestie, picking up right where we left off โ€” one last loose value from the list, then the fun part ๐Ÿ’…

No

๐ŸŒธ Local first day of the week ๐ŸŒธ

  • 1 (Mon) โ€” so the week kicks off on a Monday around here, noted ๐Ÿ“

โœจ Strftime Patterns โœจ

Okay this is the section where the locale shows off its actual formatting lewks โ€” the way dates and times get printed out. Three patterns, three sets of receipts. ๐Ÿงพ

๐ŸŽ€ %c (%a %b %e %H:%M:%S %Y) โ€” date time format

The full date-and-time combo, i.e. "give me everything":

2008-02-05T18:30:30 = Tue M02  5 18:30:30 2008
1995-12-22T09:05:02 = Fri M12 22 09:05:02 1995
-0010-09-15T04:44:23 = Sat M09 15 04:44:23 -10
Yes, that M sitting in front of the month number is literally part of the output โ€” that's the whole vibe of this locale, no cap. And note that M02 5 in the first line really does have two spaces in it, we're not gaslighting you ๐Ÿ‘€

๐Ÿฆ‹ %x (%m/%d/%y) โ€” date format

Date only, slashed up, day-first energy:

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

And time only, 24-hour clock, absolutely no confusion about AM/PM:

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 it, that's the whole support section โ€” they kept it short and iconic, as they should ๐Ÿ’…


Okay that's the whole page, bestie! This one came to you from perl v5.42.0, dated 2024-12-12, and it's the DateTim...:ms_Arab(3) page โ€” go forth and format your dates in ms_Arab with confidence ๐ŸŒˆโญ๐ŸŽ€

๐Ÿ“ฆ where this page comes from