DateTim...Hans_MY(3)

DateTim...Hans_MY(3) — the locale data page, but make it cute 💖

hey bestie welcome to the manual page tagged DateTim...Hans_MY(3). The header also says User Contributed Perl Documentation, and the actual module is DateTime::Locale::zh_Hans_MY. It's all about the Chinese Malaysia Simplified (zh-Hans-MY) locale, and it's literally a showcase of locale data examples. Slay. 🫶


💖 NAME, but make it official 💖

DateTime::Locale::zh_Hans_MY — locale data examples for the Chinese Malaysia Simplified (zh-Hans-MY) locale.

That's the name-and-purpose combo, bestie. No cap, that's the whole identity. ✨


🌸 DESCRIPTION — what's in this pod file 🌸

This pod file contains examples of the locale data available for the Chinese Malaysia Simplified locale. It's giving reference sheet with main character energy — every list and timestamp below is part of the data showcase. 💅

🦋 Days — the week, but make it zh-Hans-MY 🦋

The days show up in both format and stand-alone flavors, wide/abbreviated/narrow. Here's the whole squad:

Wide (format) — full names, zero abbreviation energy 🌟

星期一
星期二
星期三
星期四
星期五
星期六
星期日

Abbreviated (format) — shorter, still iconic 🎀

周一
周二
周三
周四
周五
周六
周日

Narrow (format) — one-character cuteness 🧚

一
二
三
四
五
六
日

Wide (stand-alone) — same full-name slay, standing alone 💅

星期一
星期二
星期三
星期四
星期五
星期六
星期日

Abbreviated (stand-alone) — short and standing pretty 🦋

周一
周二
周三
周四
周五
周六
周日

Narrow (stand-alone) — tiny but mighty 🌸

一
二
三
四
五
六
日

🌈 Months — the whole year, served 💖

Twelve months, same wide/abbreviated/narrow deal, both format and stand-alone. Obsessed with the consistency. 🫶

Wide (format) — full month names ✨

一月
二月
三月
四月
五月
六月
七月
八月
九月
十月
十一月
十二月

Abbreviated (format) — number + 月, clean 🎀

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

Narrow (format) — just the number, no extra 💅

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

Wide (stand-alone) — full names again, zero crumbs 🌟

一月
二月
三月
四月
五月
六月
七月
八月
九月
十月
十一月
十二月

Abbreviated (stand-alone) — the 月 abbreviation encore 🦋

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

Narrow (stand-alone) — numbers standing solo 🧚

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

👑 Quarters — quarterly, but make it data 👑

Quarters have wide/abbreviated/narrow format and stand-alone versions too. Seasonal slay, but technically quarter-based. 💛

Wide (format) — full quarter names 🌟

第一季度
第二季度
第三季度
第四季度

Abbreviated (format) — number + 季度 🎀

1季度
2季度
3季度
4季度

Narrow (format) — just the quarter number 💅

1
2
3
4

Wide (stand-alone) — full names, standing alone 🦋

第一季度
第二季度
第三季度
第四季度

Abbreviated (stand-alone) — short quarter labels 🌸

1季度
2季度
3季度
4季度

Narrow (stand-alone) — tiny quarter numbers 🧚

1
2
3
4

🏛️ Eras — the before/after moment 🏛️

Eras only show up here in wide, abbreviated, and narrow format versions. Historical bestie behavior. ✨

Wide (format)

公元前
公元

Abbreviated (format)

公元前
公元

Narrow (format)

公元前
公元

📅 Date Formats — date-only glow-up 📅

These examples take the same three timestamps and show them as date-only output. Look at those timestamps doing their thing. 💅

Full — the whole entire date, no crumbs 🍓

2008-02-05T18:30:30 = 2008年2月5日星期二
1995-12-22T09:05:02 = 1995年12月22日星期五
-0010-09-15T04:44:23 = -10年9月15日星期六

Long

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

Medium

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

Short — slashy and compact 🌸

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

⏰ Time Formats — clock check, bestie ⏰

Same three timestamps, now in time-only form. Time is literally a construct, but these examples are exact. 🌈

Full — UTC plus full time 🕰️

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

Long — same UTC energy ✨

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

Medium — no UTC, still cute 💖

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

Short — hours and minutes only 🎀

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

🦋 Datetime Formats — date plus time, the full combo 🦋

Date and time together, bestie. This is the section where they really ate. 💅

Full — date, weekday, UTC, and time 🌟

2008-02-05T18:30:30 = 2008年2月5日星期二 UTC 下午6:30:30
1995-12-22T09:05:02 = 1995年12月22日星期五 UTC 上午9:05:02
-0010-09-15T04:44:23 = -10年9月15日星期六 UTC 上午4:44:23

Long

2008-02-05T18:30:30 = 2008年2月5日 UTC 下午6:30:30
1995-12-22T09:05:02 = 1995年12月22日 UTC 上午9:05:02
-0010-09-15T04:44:23 = -10年9月15日 UTC 上午4:44:23

Medium

2008-02-05T18:30:30 = 2008年2月5日 下午6:30:30
1995-12-22T09:05:02 = 1995年12月22日 上午9:05:02
-0010-09-15T04:44:23 = -10年9月15日 上午4:44:23

Short — compact date/time combo 🎀

2008-02-05T18:30:30 = 2008/2/5 下午6:30
1995-12-22T09:05:02 = 1995/12/22 上午9:05
-0010-09-15T04:44:23 = -10/9/15 上午4:44

💅 Available Formats — the bonus-round menu 💅

These are the named format getups, each with its exact label and the same three sample timestamps. No skipping, bestie. 🫶

Bh (Bh时)

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

Bhm (Bh:mm)

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

Bhms (Bh:mm:ss)

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

E (ccc)

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

EBh (EBh时)

2008-02-05T18:30:30 = 周二B6时
1995-12-22T09:05:02 = 周五B9时
-0010-09-15T04:44:23 = 周六B4时

EBhm (EBh:mm)

2008-02-05T18:30:30 = 周二B6:30
1995-12-22T09:05:02 = 周五B9:05
-0010-09-15T04:44:23 = 周六B4:44

EBhms (EBh:mm:ss)

2008-02-05T18:30:30 = 周二B6:30:30
1995-12-22T09:05:02 = 周五B9:05:02
-0010-09-15T04:44:23 = 周六B4:44:23

EHm (EHH:mm)

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

EHms (EHH: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

Ed (d日E)

2008-02-05T18:30:30 = 5日周二
1995-12-22T09:05:02 = 22日周五
-0010-09-15T04:44:23 = 15日周六

Eh (Eah时)

2008-02-05T18:30:30 = 周二下午6时
1995-12-22T09:05:02 = 周五上午9时
-0010-09-15T04:44:23 = 周六上午4时

Ehm (Eah:mm)

2008-02-05T18:30:30 = 周二下午6:30
1995-12-22T09:05:02 = 周五上午9:05
-0010-09-15T04:44:23 = 周六上午4:44

Ehms (Eah:mm:ss)

2008-02-05T18:30:30 = 周二下午6:30:30
1995-12-22T09:05:02 = 周五上午9:05:02
-0010-09-15T04:44:23 = 周六上午4:44:23

Gy (Gy年)

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

GyM (Gy年M月)

2008-02-05T18:30:30 = 公元2008年2月
1995-12-22T09:05:02 = 公元1995年12月
-0010-09-15T04:44:23 = 公元前-10年9月

GyMEd (Gy-MM-ddE)

2008-02-05T18:30:30 = 公元2008-02-05周二
1995-12-22T09:05:02 = 公元1995-12-22周五
-0010-09-15T04:44:23 = 公元前-10-09-15周六

GyMMM (Gy年M月)

2008-02-05T18:30:30 = 公元2008年2月
1995-12-22T09:05:02 = 公元1995年12月
-0010-09-15T04:44:23 = 公元前-10年9月

GyMMMEd (Gy年M月d日E)

2008-02-05T18:30:30 = 公元2008年2月5日周二
1995-12-22T09:05:02 = 公元1995年12月22日周五
-0010-09-15T04:44:23 = 公元前-10年9月15日周六

GyMMMd (Gy年M月d日)

2008-02-05T18:30:30 = 公元2008年2月5日
1995-12-22T09:05:02 = 公元1995年12月22日
-0010-09-15T04:44:23 = 公元前-10年9月15日

GyMd (Gy-MM-dd)

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

H (H时)

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

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 (vHH:mm:ss)

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

Hmv (v HH:mm)

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

Hv (vH时)

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

M (M月)

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

MEd (M/dE)

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

MMM (LLL)

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

MMMEd (M月d日E)

2008-02-05T18:30:30 = 2月5日周二
1995-12-22T09:05:02 = 12月22日周五
-0010-09-15T04:44:23 = 9月15日周六

MMMMW-count-other (MMMM第W周)

2008-02-05T18:30:30 = 二月第1周
1995-12-22T09:05:02 = 十二月第3周
-0010-09-15T04:44:23 = 九月第2周

MMMMd (M月d日)

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

MMMd (M月d日)

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

MMdd (MM/dd)

2008-02-05T18:30:30 = 02/05
1995-12-22T09:05:02 = 12/22
-0010-09-15T04:44:23 = 09/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 (ah时)

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

hm (ah:mm)

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

hms (ah:mm:ss)

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

hmsv (vah:mm:ss)

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

hmv (vah:mm)

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

hv (vah时)

2008-02-05T18:30:30 = UTC下午6时
1995-12-22T09:05:02 = UTC上午9时
-0010-09-15T04:44:23 = UTC上午4时

ms (mm:ss)

Label check: ms (mm:ss) — no example rows are listed under this one in the source snippet, just the label itself. 💅

So the last pattern from part one wraps up with these three lines — same three timestamps, same drill:

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年

Just the year, with 年 riding along for the vibe ✨ (and yes, negative years are a whole thing, look at that -10年).

🌸 yM (y/M)

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

🌸 yMEEEEd (y年M月d日EEEE)

2008-02-05T18:30:30 = 2008年2月5日星期二
1995-12-22T09:05:02 = 1995年12月22日星期五
-0010-09-15T04:44:23 = -10年9月15日星期六

Full date and the weekday spelled all the way out — main character energy 👑

🌸 yMEd (y/M/dE)

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

Same energy but the slashed version, and the weekday is abbreviated 🎀

🌸 yMM (y年M月)

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

🌸 yMMM (y年M月)

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

Not a typo, bestie — yMMM and yMM both land on the same output here 💅

🌸 yMMMEd (y年M月d日E)

2008-02-05T18:30:30 = 2008年2月5日周二
1995-12-22T09:05:02 = 1995年12月22日周五
-0010-09-15T04:44:23 = -10年9月15日周六

🌸 yMMMM (y年M月)

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

🌸 yMMMd (y年M月d日)

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

🌸 yMd (y/M/d)

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

🌸 yQQQ (y年第Q季度)

2008-02-05T18:30:30 = 2008年第1季度
1995-12-22T09:05:02 = 1995年第4季度
-0010-09-15T04:44:23 = -10年第3季度

Quarter of the year, giving very "Q1 planning era" vibes 📅

🌸 yQQQQ (y年第Q季度)

2008-02-05T18:30:30 = 2008年第1季度
1995-12-22T09:05:02 = 1995年第4季度
-0010-09-15T04:44:23 = -10年第3季度

Again, the long form and the short form match. Iconic of them, honestly.

🌸 yw-count-other (Y年第w周)

2008-02-05T18:30:30 = 2008年第6周
1995-12-22T09:05:02 = 1995年第51周
-0010-09-15T04:44:23 = -10年第37周

Week-of-year — and note the pattern is spelled with a capital Y in the label and w for the week number, so copy it exactly if you're typing it out, iykyk 🧚


✨ Miscellaneous ✨

The little extras that make this locale feel like itself 🫶

Prefers 24 hour time?

No

Local first day of the week

1 (星期一)

So: no 24-hour preference on this one, and the week starts on 1, which is 星期一 — Monday for the uninitiated 💫


🌈 Strftime Patterns 🌈

These are the classic strftime slots, translated into this locale. Same three timestamps every time, so you can eyeball exactly what each one does 👀

⭐ %c (%a %b %e %H:%M:%S %Y) - date time format

2008-02-05T18:30:30 = 周二 2月  5 18:30:30 2008
1995-12-22T09:05:02 = 周五 12月 22 09:05:02 1995
-0010-09-15T04:44:23 = 周六 9月 15 04:44:23 -10

The kitchen-sink one — weekday, month, day, time, year, all of it 🌸 (and yes, that double space in 2月 5 is really in there, don't come for me)

⭐ %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

Two-digit year, month first, slashes everywhere — that's the short date 💅

⭐ %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

Just the clock, no chaos. Lowkey the most peaceful pattern on this whole page 🕰️


🫶 SUPPORT 🫶

Need more? See DateTime::Locale. That's the bestie who actually knows everybody 💜


And that's a wrap on this page, bestie 🎀 It shipped as part of perl v5.42.2, dated 2026-09-15, with the header DateTim...Hans_MY(3) up top — go forth and format your timestamps impeccably ✨💖

📦 where this page comes from