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 theTand theSrepeat, 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 isSepthere, four letters, notSep. 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
- 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