DateTim...e::en_MH(3)

πŸ’– NAME πŸ’–

okay so you opened DateTim...e::en_MH(3) β€” that truncated little thing in the header is just how the top-of-page line prints, don't panic 🫢 β€” and it's from the User Contributed Perl Documentation. The actual name of this page is DateTime::Locale::en_MH, and it holds the Locale data examples for the English Marshall Islands (en-MH) locale. That's it. That's the whole gig. It's giving "reference sheet, but make it pretty" ✨

🌸 DESCRIPTION 🌸

This pod file is literally just a showcase β€” it contains examples of the locale data available for the English Marshall Islands locale. No hidden behaviour, no tricks, just every piece of en-MH formatting laid out so you can see exactly what you'd get back. Think of it as a lookbook πŸ’…


πŸ¦‹ 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

so the stand-alone lists are matching the format lists exactly β€” same energy, no drama 😌 the narrow ones being a single letter each is iconic honestly but yes the T shows up twice and the S shows up twice, that's just the vibe, live with it πŸ”₯


πŸŽ€ 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
Sep
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
Sep
Oct
Nov
Dec

Narrow (stand-alone)

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

again, format and stand-alone are twins πŸ‘―β€β™€οΈ and the narrow column is a whole alphabet-soup situation with J three times and M twice β€” narrow months are just Like That, iykyk πŸ’€


🧚 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

quarters said "consistency is my love language" and honestly? slay πŸ‘‘


⭐ Eras

Wide (format)

Before Christ
Anno Domini

Abbreviated (format)

BC
AD

Narrow (format)

B
A

heads up bestie: eras only give you the format versions here β€” there's no stand-alone list for these in this locale, that's just what's on the page πŸ™ˆ


πŸ”₯ Date Formats

Full

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

Long

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

Medium

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

Short

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

not the negative year just casually hanging out as -10 😭 that's the negative year and it's not even hiding it. main character energy fr fr


πŸ’œ 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

Full and Long are giving identical twins here πŸ‘€ and yeah the UTC disappears once you drop to Medium and Short β€” that's the whole point of the levels, no cap


πŸ¦‹ Datetime Formats

Full

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

Long

 2008-02-05T18:30:30 = February 5, 2008, 6:30:30 PM UTC
 1995-12-22T09:05:02 = December 22, 1995, 9:05:02 AM UTC
-0010-09-15T04:44:23 = September 15, -10, 4:44:23 AM UTC

Medium

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

Short

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

date + time glued together with a comma, all four sizes, chef's kiss πŸ“


πŸ‘‘ Available Formats

okay this is the big one β€” every named pattern this locale ships with, plus what it spits out for the same three timestamps every single time. buckle up πŸ’…

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

day-number-then-weekday, yes it looks backwards, no it's not a typo πŸ™ˆ

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

see the -alt-ascii variants? those are the plain-ASCII twins of the fancy ones 🫢 they render the same here, they just spell out AM/PM the boring (safe) way

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, MMM d, y G)

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

GyMMMd (MMM d, y G)

 2008-02-05T18:30:30 = Feb 5, 2008 AD
 1995-12-22T09:05:02 = Dec 22, 1995 AD
-0010-09-15T04:44:23 = Sep 15, -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

24-hour clock girlies, this is your moment πŸŽ€

M (L)

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

MEd (E, M/d)

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

MMM (LLL)

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

MMMEd (E, MMM d)

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

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

the -count-one and -count-other pair are the plural categories, and here they're matching β€” also note those literal quotes inside the pattern, they're part of it, keep them πŸ”₯

MMMMd (MMMM d)

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

MMMd (MMM d)

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

Md (M/d)

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

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

the little v at the end of those is what's dragging UTC along for the ride 🌈

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)

…and that's exactly where part 1 stops 🫢 the examples for yM and everything after it are still coming in part 2, so don't close the tab bestie πŸ’–

the last pattern from before wraps up like this:

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

bestie, now the rest of the pattern tour β€” same three test dates every time so you can compare the vibes side by side πŸ’…

yMEd (E, M/d/y)

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

yMMM (MMM y)

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

yMMMEd (E, MMM d, y)

2008-02-05T18:30:30 = Tue, Feb 5, 2008
1995-12-22T09:05:02 = Fri, Dec 22, 1995
-0010-09-15T04:44:23 = Sat, Sep 15, -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

yMMMd (MMM d, y)

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

yMd (M/d/y)

2008-02-05T18:30:30 = 2/5/2008
1995-12-22T09:05:02 = 12/22/1995
-0010-09-15T04:44:23 = 9/15/-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

🌸 Miscellaneous 🌸

just the little odds and ends of this locale's personality, no biggie:

  • Prefers 24 hour time? No πŸ™…β€β™€οΈ
  • Local first day of the week 7 (Sunday) 🌞

⭐ Strftime Patterns ⭐

okay these are the classic strftime-style ones, the old-school icons of the family πŸŽ€ each one has its format and a one-line label.

  • %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
  • %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
ngl, -0010-09-15T04:44:23 showing up as 09/15/10 under %x is not a typo on my part β€” that's literally what the page says, so pls don't come for me 😭

🫢 SUPPORT 🫢

  • See DateTime::Locale. β€” that's the whole support section, short and iconic, go read it if you want the big picture πŸ’–

and that's a wrap on this locale bestie!! πŸŽ€βœ¨ the page you've been reading is from perl v5.42.0, dated 2024-12-12 (the DateTime::Locale docs, en_MH flavour πŸ‡²πŸ‡­) β€” so if anything here looks different in your install, check your version first, mwah πŸ’…πŸ’œ

πŸ“¦ where this page comes from