DateTim...e::en_MY(3)

πŸ’– DateTime::Locale::en_MY πŸ’–

Okay bestie, welcome to the DateTime::Locale::en_MY(3) page from User Contributed Perl Documentation. It's literally all about locale data examples for the English Malaysia (en-MY) locale, and it is giving "I know every day name and every timestamp format by heart" energy. No cap. πŸ¦‹βœ¨

✨ NAME ✨

DateTime::Locale::en_MY β€” Locale data examples for the English Malaysia (en-MY) locale.

🌸 DESCRIPTION 🌸

This pod file contains examples of the locale data available for the English Malaysia locale.

πŸ—“οΈ 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

πŸŒ™ 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

πŸŽ€ 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

πŸ•°οΈ 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 Sept -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 this section is a whole buffet of format codes, patterns, and exact sample lines. Not me listing every single one because we do not skip. Periodt. πŸ’…

  • Bh (h B) β€” samples:
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) β€” samples:
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) β€” samples:
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) β€” samples:
2008-02-05T18:30:30 = Tue
1995-12-22T09:05:02 = Fri
-0010-09-15T04:44:23 = Sat
  • EBhm (E h:mm B) β€” samples:
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) β€” samples:
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) β€” samples:
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) β€” samples:
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) β€” samples:
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) β€” samples:
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) β€” samples:
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) β€” samples:
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) β€” samples:
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) β€” samples:
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) β€” samples:
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 (E, d MMM y G) β€” samples:
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 (d MMM y G) β€” samples:
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 (d/M/y G) β€” samples:
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 (HH) β€” samples:
2008-02-05T18:30:30 = 18
1995-12-22T09:05:02 = 09
-0010-09-15T04:44:23 = 04
  • Hm (HH:mm) β€” samples:
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) β€” samples:
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) β€” samples:
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) β€” samples:
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) β€” samples:
2008-02-05T18:30:30 = 2
1995-12-22T09:05:02 = 12
-0010-09-15T04:44:23 = 9
  • MEd (E, dd/MM) β€” samples:
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) β€” samples:
2008-02-05T18:30:30 = Feb
1995-12-22T09:05:02 = Dec
-0010-09-15T04:44:23 = Sept
  • MMMEd (E, d MMM) β€” samples:
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 ('week' W 'of' MMMM) β€” samples:
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) β€” samples:
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 (d MMMM) β€” samples:
2008-02-05T18:30:30 = 5 February
1995-12-22T09:05:02 = 22 December
-0010-09-15T04:44:23 = 15 September
  • MMMd (d MMM) β€” samples:
2008-02-05T18:30:30 = 5 Feb
1995-12-22T09:05:02 = 22 Dec
-0010-09-15T04:44:23 = 15 Sept
  • MMdd (dd/MM) β€” samples:
2008-02-05T18:30:30 = 05/02
1995-12-22T09:05:02 = 22/12
-0010-09-15T04:44:23 = 15/09
  • Md (dd/MM) β€” samples:
2008-02-05T18:30:30 = 05/02
1995-12-22T09:05:02 = 22/12
-0010-09-15T04:44:23 = 15/09
  • d (d) β€” samples:
2008-02-05T18:30:30 = 5
1995-12-22T09:05:02 = 22
-0010-09-15T04:44:23 = 15
  • h (h a) β€” samples:
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) β€” samples:
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) β€” samples:
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) β€” samples:
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) β€” samples:
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) β€” samples:
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) β€” samples:
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) β€” samples:
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) β€” samples:
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) β€” samples:
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) β€” samples:
2008-02-05T18:30:30 = 30:30
1995-12-22T09:05:02 = 05:02
-0010-09-15T04:44:23 = 44:23
  • y (y)

Year only, no frills, just vibes:

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

yM (MM/y)

month first, then year β€” cute, compact πŸ’…

          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)

day name, then day/month/year. the full little lineup ✨

          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 year, obsessed with how tidy this is 🌸

          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)

day name, day number, short month, year β€” the whole squad showing up 🫢

          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)

full month name, zero abbreviations, maximum 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 day name, still slays πŸŽ€

          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)

all numbers, all business, dd/MM/y format πŸ’€

          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 o'clock, short form. Q1/Q4/Q3 and the year, periodt πŸ”₯

          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 long-form quarter, spelled all the way out, "1st quarter" core 🌟

          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-of-year, the one plural category. and yes bestie, in this locale it prints the literal word week:

          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 category β€” lowkey identical output here, same three lines, 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 ✨

The lil extras, bestie, straight from the spec:

  • Prefers 24 hour time? No
  • Local first day of the week: 1 (Monday)

🌈 Strftime Patterns 🌈

Your classic C-style strftime escapes, but dressed for this locale. Here's exactly what each one gives you πŸ’–

%c (%a %b %e %H:%M:%S %Y) β€” date time format

The full date-and-time combo. watch that double space in Feb 5, it's real and it's staying πŸ™ˆ

          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 ships as %m/%d/%y β€” that's the line, iykyk 🌸

          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

just the clock, hours minutes seconds, iconic ⏰

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

Need more? Go see DateTime::Locale. that's the whole support section, she's brief and she knows it πŸ’…


aaand that's the page, bestie πŸŽ€ this was DateTim...e::en_MY(3) from perl v5.42.0, dated 2024-12-12 β€” go forth and format your dates correctly, mwah πŸ¦‹πŸ’–

πŸ“¦ where this page comes from