DateTim...e::en_MS(3)

πŸ’– NAME πŸ’–

okay so this is the manual page for DateTime::Locale::en_MS β€” straight out of the User Contributed Perl Documentation section β€” and it's literally all the locale data examples you could ever want for the English Montserrat (en-MS) locale. bestie, it's a whole vibe check on how Montserrat writes dates and times πŸŽ€


πŸ¦‹ DESCRIPTION πŸ¦‹

this pod file is basically a show-and-tell 🫢 β€” it's packed with examples of the locale data available for the English Montserrat locale. no cap, everything below is just receipts.

🌸 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
yes the T and the S repeat, that's the whole point of narrow, it's giving minimalism πŸ’…

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
heads up bestie β€” September is Sept here, four letters, not Sep. that's not a typo, that's canon πŸ‘‘

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
the short one is giving day/month/year, so 05/02/2008 is 5 February, not May 2nd. do not come for me πŸ™ˆ

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

okay this next part is the motherlode β€” every named format, its pattern in parentheses, and the three same test timestamps run through it. it's a lot but we're gonna get through it together 🫢

πŸ”₯ Bh β€” pattern h B

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

πŸ”₯ Bhm β€” pattern 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 β€” pattern 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 β€” pattern ccc

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

πŸ”₯ EBhm β€” pattern 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 β€” pattern 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 β€” pattern 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 β€” pattern 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 β€” pattern E d

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

πŸ”₯ Ehm β€” pattern 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 β€” pattern 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 β€” pattern 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 β€” pattern 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 β€” pattern y G

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

πŸ”₯ GyMMM β€” pattern 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

πŸ”₯ GyMMMEd β€” pattern 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 β€” pattern 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 β€” pattern d/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 β€” pattern HH

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

πŸ”₯ Hm β€” pattern HH:mm

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

πŸ”₯ Hms β€” pattern 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 β€” pattern 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 β€” pattern 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 β€” pattern L

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

πŸ”₯ MEd β€” pattern 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 β€” pattern LLL

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

πŸ”₯ MMMEd β€” pattern 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

πŸ”₯ 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

πŸ”₯ MMMMd β€” pattern d MMMM

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

πŸ”₯ MMMd β€” pattern d MMM

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

πŸ”₯ MMdd β€” pattern dd/MM

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

πŸ”₯ Md β€” pattern dd/MM

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

πŸ”₯ d β€” pattern d

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

πŸ”₯ h β€” pattern 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 β€” pattern h a

2008-02-05T18:30:30 = 6 pm
1995-12-22T09:05:02 = 9 am
-0010-09-15T04:44:23 = 4 am

πŸ”₯ hm β€” pattern 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 β€” pattern 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 β€” pattern 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 β€” pattern 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 β€” pattern 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 β€” pattern 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 β€” pattern 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 β€” pattern 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 β€” pattern mm:ss

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

πŸ”₯ y β€” pattern y

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

πŸ”₯ yM β€” pattern MM/y

and that's exactly where this half of the page cuts off 🌈 β€” the yM format is just getting started, so hang tight for part 2 bestie, it literally picks up right here πŸ’…βœ¨

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

okay so we're picking up mid-list, right in the middle of the format buffet πŸ“ β€” that was the tail end of one of them, and now we go one by one. buckle up bestie, there's a lot and each one slaps in its own way ✨

πŸ¦‹ yMEd (E, dd/MM/y)

day-of-week first, then a fully padded day/month/year. commas stay, zero-padding stays, it's giving very ✨organized✨

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 plus the year, no day invited to the party πŸŽ€

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

πŸ’œ yMMMEd (E, d MMM y)

the full little vibe check: 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 Sept -10

🌈 yMMMM (MMMM y)

now with the full month name, no abbreviations, main character energy πŸ‘‘

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 β€” no weekday, we're keeping it lowkey πŸ’…

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)

the classic numeric stack, padded days and months, slashes included, 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)

quarter time!! abbreviated quarter plus year, trΓ¨s chic πŸ”₯

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

πŸ‘‘ yQQQQ (QQQQ y)

and the long-form quarter, ordinal and everything, absolutely ate 🌟

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 + year, spelled out with the literal words β€” this is the one plural bucket, and ngl it's showing the exact same output as its sibling below 😭 not a typo, that's just how it is, periodt

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)

the other plural bucket. identical results. iconic of them fr fr 🫢

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 two little facts about this locale, and bestie they're both exactly what it says on the tin:

  • Prefers 24 hour time? Yes ⏰ (no AM/PM chaos here)
  • Local first day of the week: 1 (Monday) πŸ“… β€” monday girlies rise

πŸ¦‹ Strftime Patterns

now for the strftime-style patterns! these are the classic ones, each with its expansion spelled out in parentheses πŸŽ€

πŸ’œ %c (%a %b %e %H:%M:%S %Y) - date time format

the big one β€” abbreviated weekday, abbreviated month, space-padded day (that's %e), then HH:MM:SS and the year. note the double space in Feb 5? that's %e doing its thing, don't touch it 😌

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 Sept 15 04:44:23 -10

πŸ”₯ %x (%m/%d/%y) - date format

the date-only pattern: month/day/two-digit-year, slashes, zero-padded. and yes, the negative year renders as 09/15/10 β€” look at it, look at the year going all lowercase-y πŸ™ˆ

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

the time-only pattern, 24-hour, padded all the way, no fuss 🌈

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

go check out DateTime::Locale β€” that's the whole support section, it's short and sweet and it's the place to look πŸŽ€


and that's the whole page, bestie! 🌟 you just read the DateTim...e::en_MS(3) man page, shipped as part of perl v5.42.0, dated 2024-12-12 β€” go drink some water and format a date πŸ’–πŸ’…βœ¨

πŸ“¦ where this page comes from