DateTim...:zh_Hans(3)
🦋 DateTim...:zh_Hans(3) 🦋
okay so bestie, this is the User Contributed Perl Documentation page for DateTime::Locale::zh_Hans, and we're folding that manual name right up here near the top so it's not doing some mysterious header cameo. it's giving Chinese Simplified (zh-Hans) locale data examples, and honestly? iconic. 💅
✨ NAME ✨
DateTime::Locale::zh_Hans— locale data examples for the Chinese Simplified (zh-Hans) locale. periodt 🫶
💖 DESCRIPTION 💖
okay so this pod file is literally a whole collection of examples for the locale data that's available for the Chinese Simplified locale. no cap, it's a showcase, and we're about to go through every single one. 🎀
🗓️ Days
🌸 Wide (format)
the full-name days and they ate:
星期一
星期二
星期三
星期四
星期五
星期六
星期日
🌸 Abbreviated (format)
the shorter day names, still cute:
周一
周二
周三
周四
周五
周六
周日
🌸 Narrow (format)
narrow is giving single-character energy:
一
二
三
四
五
六
日
🌸 Wide (stand-alone)
wide but stand-alone, same iconic full names:
星期一
星期二
星期三
星期四
星期五
星期六
星期日
🌸 Abbreviated (stand-alone)
abbreviated but stand-alone:
周一
周二
周三
周四
周五
周六
周日
🌸 Narrow (stand-alone)
narrow but stand-alone:
一
二
三
四
五
六
日
🌙 Months
🌸 Wide (format)
full month names, serving:
一月
二月
三月
四月
五月
六月
七月
八月
九月
十月
十一月
十二月
🌸 Abbreviated (format)
the abbreviated month girlies:
1月
2月
3月
4月
5月
6月
7月
8月
9月
10月
11月
12月
🌸 Narrow (format)
narrow months are just numbers, lowkey minimal:
1
2
3
4
5
6
7
8
9
10
11
12
🌸 Wide (stand-alone)
wide stand-alone months:
一月
二月
三月
四月
五月
六月
七月
八月
九月
十月
十一月
十二月
🌸 Abbreviated (stand-alone)
abbreviated stand-alone months:
1月
2月
3月
4月
5月
6月
7月
8月
9月
10月
11月
12月
🌸 Narrow (stand-alone)
narrow stand-alone months:
1
2
3
4
5
6
7
8
9
10
11
12
🧚 Quarters
🌸 Wide (format)
quarter names with full main-character energy:
第一季度
第二季度
第三季度
第四季度
🌸 Abbreviated (format)
abbreviated quarters:
1季度
2季度
3季度
4季度
🌸 Narrow (format)
narrow quarters:
1
2
3
4
🌸 Wide (stand-alone)
wide stand-alone quarters:
第一季度
第二季度
第三季度
第四季度
🌸 Abbreviated (stand-alone)
abbreviated stand-alone quarters:
1季度
2季度
3季度
4季度
🌸 Narrow (stand-alone)
narrow stand-alone quarters:
1
2
3
4
⏳ Eras
🌸 Wide (format)
era names, wide:
公元前
公元
🌸 Abbreviated (format)
era names, abbreviated:
公元前
公元
🌸 Narrow (format)
era names, narrow:
公元前
公元
📅 Date Formats
💫 Full
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
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
💫 Full
2008-02-05T18:30:30 = UTC 18:30:30
1995-12-22T09:05:02 = UTC 09:05:02
-0010-09-15T04:44:23 = UTC 04:44:23
💫 Long
2008-02-05T18:30:30 = UTC 18:30:30
1995-12-22T09:05:02 = UTC 09:05:02
-0010-09-15T04:44:23 = UTC 04:44:23
💫 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 = 2008年2月5日星期二 UTC 18:30:30
1995-12-22T09:05:02 = 1995年12月22日星期五 UTC 09:05:02
-0010-09-15T04:44:23 = -10年9月15日星期六 UTC 04:44:23
💜 Long
2008-02-05T18:30:30 = 2008年2月5日 UTC 18:30:30
1995-12-22T09:05:02 = 1995年12月22日 UTC 09:05:02
-0010-09-15T04:44:23 = -10年9月15日 UTC 04:44:23
💜 Medium
2008-02-05T18:30:30 = 2008年2月5日 18:30:30
1995-12-22T09:05:02 = 1995年12月22日 09:05:02
-0010-09-15T04:44:23 = -10年9月15日 04:44:23
💜 Short
2008-02-05T18:30:30 = 2008/2/5 18:30
1995-12-22T09:05:02 = 1995/12/22 09:05
-0010-09-15T04:44:23 = -10/9/15 04:44
👑 Available Formats
this is the big buffet of named formats, bestie. every label, every example, no skipping. 🍓
💫 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 = 周六
💫 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日周六
💫 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年
💫 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 (GGGGG y-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 (v HH:mm:ss)
2008-02-05T18:30:30 = UTC 18:30:30
1995-12-22T09:05:02 = UTC 09:05:02
-0010-09-15T04:44:23 = UTC 04: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
💫 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 (v ah: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 (v ah: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
💫 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 (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日星期六
💫 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周六
💫 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月
💫 yMMMEd (y年M月d日E)
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
slashes and no zero-padding, okay? that's the whole vibe of this one ✨
yQQQ (y年第Q季度)
2008-02-05T18:30:30 = 2008年第1季度
1995-12-22T09:05:02 = 1995年第4季度
-0010-09-15T04:44:23 = -10年第3季度
yQQQQ (y年第Q季度)
2008-02-05T18:30:30 = 2008年第1季度
1995-12-22T09:05:02 = 1995年第4季度
-0010-09-15T04:44:23 = -10年第3季度
bestie, yes, yQQQ and yQQQQ give you the exact same output here — they're both on the list, so they both get listed. no erasing, no merging, we report 💅
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周
note that the label here is Y年第w周 with a capital Y, while the others use lowercase — copy it exactly, don't be cute about it 🙈
🌸 Miscellaneous 🌸
Prefers 24 hour time?
Yes. twenty-four hour girlie confirmed 🕕
Local first day of the week
1 (星期一)
so the week starts on Monday around here, periodt. monday supremacy 👑
🦋 Strftime Patterns 🦋
the classic strftime-style formats, showing up to do their thing:
%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
look at that double space before the 5 and the 22 — that's %e, it pads with a space, it's giving alignment, it's giving aesthetics 🎀 keep it exactly as shown.
%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
month first, then day, then the two-digit year — and yeah, that last one is what it is, we don't editorialize, we just deliver 😭
%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
zero-padded, hours-minutes-seconds, clean, crisp, iconic ⭐
🫶 SUPPORT 🫶
See DateTime::Locale.
that's the whole support section, bestie — go read that one, it's where the locale lore lives 📚💜
okay that's a wrap on this one, and it's a whole moment 💖 this page is perl v5.42.0, dated 2024-12-12, and it's DateTim...:zh_Hans(3) — go forth and format your dates, iykyk ✨🦋🌸
📦 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