DateTim...e::ja_JP(3)

πŸ’– NAME πŸ’–

DateTime::Locale::ja_JP β€” locale data examples for the Japanese Japan (ja-JP) locale.

This is the DateTim...e::ja_JP(3) page from the User Contributed Perl Documentation, bestie. It's part 1 of 2, so buckle up β€” we're going through every single example together πŸ’…


✨ DESCRIPTION ✨

This pod file contains examples of the locale data available for the Japanese Japan locale. It's literally a reference sheet but make it cute πŸŽ€

πŸ—“οΈ Days πŸ—“οΈ

Wide (format) 🌸

ζœˆζ›œζ—₯
η«ζ›œζ—₯
ζ°΄ζ›œζ—₯
ζœ¨ζ›œζ—₯
ι‡‘ζ›œζ—₯
εœŸζ›œζ—₯
ζ—₯ζ›œζ—₯

Abbreviated (format) 🌸

月
火
ζ°΄
木
金
土
ζ—₯

Narrow (format) 🌸

月
火
ζ°΄
木
金
土
ζ—₯

Wide (stand-alone) πŸ¦‹

ζœˆζ›œζ—₯
η«ζ›œζ—₯
ζ°΄ζ›œζ—₯
ζœ¨ζ›œζ—₯
ι‡‘ζ›œζ—₯
εœŸζ›œζ—₯
ζ—₯ζ›œζ—₯

Abbreviated (stand-alone) πŸ¦‹

月
火
ζ°΄
木
金
土
ζ—₯

Narrow (stand-alone) πŸ¦‹

月
火
ζ°΄
木
金
土
ζ—₯

πŸŒ™ Months πŸŒ™

Wide (format) πŸ’œ

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

Abbreviated (format) πŸ’œ

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

Narrow (format) πŸ’œ

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

Wide (stand-alone) 🫢

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

Abbreviated (stand-alone) 🫢

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

Narrow (stand-alone) 🫢

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

πŸŽ€ Quarters πŸŽ€

Wide (format) ⭐

第1ε››εŠζœŸ
第2ε››εŠζœŸ
第3ε››εŠζœŸ
第4ε››εŠζœŸ

Abbreviated (format) ⭐

Q1
Q2
Q3
Q4

Narrow (format) ⭐

1
2
3
4

Wide (stand-alone) 🌈

第1ε››εŠζœŸ
第2ε››εŠζœŸ
第3ε››εŠζœŸ
第4ε››εŠζœŸ

Abbreviated (stand-alone) 🌈

Q1
Q2
Q3
Q4

Narrow (stand-alone) 🌈

1
2
3
4

πŸ‘‘ Eras πŸ‘‘

Wide (format) πŸ”₯

紀元前
θ₯Ώζš¦

Abbreviated (format) πŸ”₯

紀元前
θ₯Ώζš¦

Narrow (format) πŸ”₯

BC
AD

πŸ“… 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/02/05
1995-12-22T09:05:02 = 1995/12/22
-0010-09-15T04:44:23 = -10/09/15

Short 🌟

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

⏰ Time Formats ⏰

Full πŸ•°οΈ

2008-02-05T18:30:30 = 18ζ™‚30εˆ†30η§’ UTC
1995-12-22T09:05:02 = 9ζ™‚05εˆ†02η§’ UTC
-0010-09-15T04:44:23 = 4ζ™‚44εˆ†23η§’ UTC

Long πŸ•°οΈ

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

Medium πŸ•°οΈ

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

Short πŸ•°οΈ

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

πŸ•°οΈ Datetime Formats πŸ•°οΈ

Full πŸ’«

2008-02-05T18:30:30 = 2008εΉ΄2月5ζ—₯η«ζ›œζ—₯ 18ζ™‚30εˆ†30η§’ UTC
1995-12-22T09:05:02 = 1995εΉ΄12月22ζ—₯ι‡‘ζ›œζ—₯ 9ζ™‚05εˆ†02η§’ UTC
-0010-09-15T04:44:23 = -10εΉ΄9月15ζ—₯εœŸζ›œζ—₯ 4ζ™‚44εˆ†23η§’ UTC

Long πŸ’«

2008-02-05T18:30:30 = 2008εΉ΄2月5ζ—₯ 18:30:30 UTC
1995-12-22T09:05:02 = 1995εΉ΄12月22ζ—₯ 9:05:02 UTC
-0010-09-15T04:44:23 = -10εΉ΄9月15ζ—₯ 4:44:23 UTC

Medium πŸ’«

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

Short πŸ’«

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

🌈 Available Formats 🌈

Bh (BKζ™‚) 🌸

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

Bhm (BK:mm) 🌸

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

Bhms (BK: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 (BK:mm (E)) 🌸

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

EBhms (BK:mm:ss (E)) 🌸

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

EEEEd (dζ—₯EEEE) 🌸

2008-02-05T18:30:30 = 5ζ—₯η«ζ›œζ—₯
1995-12-22T09:05:02 = 22ζ—₯ι‡‘ζ›œζ—₯
-0010-09-15T04:44:23 = 15ζ—₯εœŸζ›œζ—₯

EHm (H:mm (E)) 🌸

2008-02-05T18:30:30 = 18:30 (火)
1995-12-22T09:05:02 = 9:05 (金)
-0010-09-15T04:44:23 = 4:44 (土)

EHms (H:mm:ss (E)) 🌸

2008-02-05T18:30:30 = 18:30:30 (火)
1995-12-22T09:05:02 = 9:05:02 (金)
-0010-09-15T04:44:23 = 4:44:23 (土)

Ed (dζ—₯(E)) 🌸

2008-02-05T18:30:30 = 5ζ—₯(火)
1995-12-22T09:05:02 = 22ζ—₯(金)
-0010-09-15T04:44:23 = 15ζ—₯(土)

Ehm (aK:mm (E)) 🌸

2008-02-05T18:30:30 = 午後6:30 (火)
1995-12-22T09:05:02 = εˆε‰9:05 (金)
-0010-09-15T04:44:23 = εˆε‰4:44 (土)

Ehms (aK:mm:ss (E)) 🌸

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月

GyMMMEEEEd (GyεΉ΄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ζ—₯εœŸζ›œζ—₯

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/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

H (Hζ™‚) 🌸

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

Hm (H:mm) 🌸

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

Hms (H:mm:ss) 🌸

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

Hmsv (H:mm:ss v) 🌸

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

Hmv (H:mm v) 🌸

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

M (M月) 🌸

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

MEEEEd (M/dEEEE) 🌸

2008-02-05T18:30:30 = 2/5η«ζ›œζ—₯
1995-12-22T09:05:02 = 12/22ι‡‘ζ›œζ—₯
-0010-09-15T04:44:23 = 9/15εœŸζ›œζ—₯

MEd (M/d(E)) 🌸

2008-02-05T18:30:30 = 2/5(火)
1995-12-22T09:05:02 = 12/22(金)
-0010-09-15T04:44:23 = 9/15(土)

MMM (M月) 🌸

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

MMMEEEEd (M月dζ—₯EEEE) 🌸

2008-02-05T18:30:30 = 2月5ζ—₯η«ζ›œζ—₯
1995-12-22T09:05:02 = 12月22ζ—₯ι‡‘ζ›œζ—₯
-0010-09-15T04:44:23 = 9月15ζ—₯εœŸζ›œζ—₯

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 (M月第Wι€±) 🌸

2008-02-05T18:30:30 = 2月第1ι€±
1995-12-22T09:05:02 = 12月第3ι€±
-0010-09-15T04:44:23 = 9月第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ζ—₯

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 (aKζ™‚) 🌸

2008-02-05T18:30:30 = 午後6ζ™‚
1995-12-22T09:05:02 = εˆε‰9ζ™‚
-0010-09-15T04:44:23 = εˆε‰4ζ™‚

hm (aK:mm) 🌸

2008-02-05T18:30:30 = 午後6:30
1995-12-22T09:05:02 = εˆε‰9:05
-0010-09-15T04:44:23 = εˆε‰4:44

hms (aK: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 (aK:mm:ss v) 🌸

2008-02-05T18:30:30 = 午後6:30:30 UTC
1995-12-22T09:05:02 = εˆε‰9:05:02 UTC
-0010-09-15T04:44:23 = εˆε‰4:44:23 UTC

hmv (aK:mm v) 🌸

2008-02-05T18:30:30 = 午後6:30 UTC
1995-12-22T09:05:02 = εˆε‰9:05 UTC
-0010-09-15T04:44:23 = εˆε‰4:44 UTC

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/dEEEE) 🌸

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/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(土)

yMM (y/MM)

okay bestie this one gives you just year + month, two-digit month ngl

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

yMMM (y年M月)

same energy but with the 年 and 月 characters doing their iconic thing ✨

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

yMMMEEEEd (yεΉ΄M月dζ—₯EEEE)

full date PLUS the full weekday name, main character formatting fr πŸ’…

2008-02-05T18:30:30 = 2008εΉ΄2月5ζ—₯η«ζ›œζ—₯
1995-12-22T09:05:02 = 1995εΉ΄12月22ζ—₯ι‡‘ζ›œζ—₯
-0010-09-15T04:44:23 = -10εΉ΄9月15ζ—₯εœŸζ›œζ—₯

yMMMEd (yεΉ΄M月dζ—₯(E))

this is the same vibe but the weekday is short and tucked inside parens πŸŽ€

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月)

y'all this one literally looks identical to yMMM output-wise, and that's just how it is, no notes

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ζ—₯)

year month day, no weekday invited to the function πŸ™ˆ

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)

slashes back, and bestie the month here is NOT zero-padded, keep that in mind πŸ‘‘

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/QQQ)

quarter representation, abbreviated, straight to the point ⭐

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

yQQQQ (yεΉ΄QQQQ)

and here's the long-form quarter, 第Nε››εŠζœŸ, absolutely ate πŸ”₯

2008-02-05T18:30:30 = 2008年第1ε››εŠζœŸ
1995-12-22T09:05:02 = 1995年第4ε››εŠζœŸ
-0010-09-15T04:44:23 = -10年第3ε››εŠζœŸ

yw-count-other (Y年第wι€±)

week-of-year counting, and yes the pattern name is literally that, don't come for me πŸ’€

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

πŸ¦‹ Miscellaneous πŸ¦‹

Prefers 24 hour time?

Yes. 24h girlies stay winning, no ambiguity, no drama πŸ’–

Local first day of the week

7 (ζ—₯ζ›œζ—₯) β€” that's Sunday, bestie, marking the start of the week 🌸


✨ Strftime Patterns ✨

%c (%YεΉ΄%m月%dζ—₯ %Hζ™‚%Mεˆ†%Sη§’) - date time format

the whole entire timestamp in one go, date AND time, observed πŸ‘‘

2008-02-05T18:30:30 = 2008εΉ΄02月05ζ—₯ 18ζ™‚30εˆ†30η§’
1995-12-22T09:05:02 = 1995εΉ΄12月22ζ—₯ 09ζ™‚05εˆ†02η§’
-0010-09-15T04:44:23 = -10εΉ΄09月15ζ—₯ 04ζ™‚44εˆ†23η§’

%x (%YεΉ΄%m月%dζ—₯) - date format

just the date portion, zero-padded and cute πŸŽ€

2008-02-05T18:30:30 = 2008εΉ΄02月05ζ—₯
1995-12-22T09:05:02 = 1995εΉ΄12月22ζ—₯
-0010-09-15T04:44:23 = -10εΉ΄09月15ζ—₯

%X (%Hζ™‚%Mεˆ†%Sη§’) - time format

and just the time, 24-hour, chef's kiss ⭐

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 🫢

See DateTime::Locale. that's the whole thing, go look, iykyk πŸ’œ


and that's a wrap on DateTime::Locale::ja_JP, bestie!! 🌈 this shipped as part of perl v5.42.0, dated 2024-12-12, so if you're citing it in your group chat that's the receipt πŸ’…βœ¨

πŸ“¦ where this page comes from