DateTim...ale::tr(3)

hii bestie 💖 welcome to the DateTim...ale::tr(3) page — User Contributed Perl Documentation, Turkish (tr) locale data edition. It's giving “pod file full of examples,” and honestly it ate. ✨

🎀 NAME 🎀

  • DateTime::Locale::tr — Locale data examples for the Turkish (tr) locale

🦋 DESCRIPTION 🦋

This pod file contains examples of the locale data available for the Turkish locale. No cap, that's the whole vibe: examples, examples, examples, all for tr. 💅

🌸 Days 🌸

Okay so first up: days of the week, Turkish edition. Here's the wide format with full names — main character energy only:

🌷 Wide (format) 🌷

Pazartesi
Salı
Çarşamba
Perşembe
Cuma
Cumartesi
Pazar

🌷 Abbreviated (format) 🌷

Pzt
Sal
Çar
Per
Cum
Cmt
Paz

🌷 Narrow (format) 🌷

P
S
Ç
P
C
C
P

🌷 Wide (stand-alone) 🌷

Pazartesi
Salı
Çarşamba
Perşembe
Cuma
Cumartesi
Pazar

🌷 Abbreviated (stand-alone) 🌷

Pzt
Sal
Çar
Per
Cum
Cmt
Paz

🌷 Narrow (stand-alone) 🌷

P
S
Ç
P
C
C
P

🌺 Months 🌺

Months now, bestie. Full names first, and yes the Turkish letters are iconic 💅

🍓 Wide (format) 🍓

Ocak
Şubat
Mart
Nisan
Mayıs
Haziran
Temmuz
Ağustos
Eylül
Ekim
Kasım
Aralık

🍓 Abbreviated (format) 🍓

Oca
Şub
Mar
Nis
May
Haz
Tem
Ağu
Eyl
Eki
Kas
Ara

🍓 Narrow (format) 🍓

O
Ş
M
N
M
H
T
A
E
E
K
A

🍓 Wide (stand-alone) 🍓

Ocak
Şubat
Mart
Nisan
Mayıs
Haziran
Temmuz
Ağustos
Eylül
Ekim
Kasım
Aralık

🍓 Abbreviated (stand-alone) 🍓

Oca
Şub
Mar
Nis
May
Haz
Tem
Ağu
Eyl
Eki
Kas
Ara

🍓 Narrow (stand-alone) 🍓

O
Ş
M
N
M
H
T
A
E
E
K
A

🧚 Quarters 🧚

Quarter time! These are giving “very organized calendar fairy” vibes:

🌈 Wide (format) 🌈

1. çeyrek
2. çeyrek
3. çeyrek
4. çeyrek

🌈 Abbreviated (format) 🌈

Ç1
Ç2
Ç3
Ç4

🌈 Narrow (format) 🌈

1.
2.
3.
4.

🌈 Wide (stand-alone) 🌈

1. çeyrek
2. çeyrek
3. çeyrek
4. çeyrek

🌈 Abbreviated (stand-alone) 🌈

Ç1
Ç2
Ç3
Ç4

🌈 Narrow (stand-alone) 🌈

1.
2.
3.
4.

👑 Eras 👑

Era names, periodt. Short but important:

⭐ Wide (format) ⭐

Milattan Önce
Milattan Sonra

⭐ Abbreviated (format) ⭐

MÖ
MS

⭐ Narrow (format) ⭐

MÖ
MS

💜 Date Formats 💜

Date format examples incoming. These are literally the same three timestamps getting dressed up in different outfits 🫶

🎀 Full 🎀

2008-02-05T18:30:30 = 5 Şubat 2008 Salı
1995-12-22T09:05:02 = 22 Aralık 1995 Cuma
-0010-09-15T04:44:23 = 15 Eylül -10 Cumartesi

🎀 Long 🎀

2008-02-05T18:30:30 = 5 Şubat 2008
1995-12-22T09:05:02 = 22 Aralık 1995
-0010-09-15T04:44:23 = 15 Eylül -10

🎀 Medium 🎀

2008-02-05T18:30:30 = 5 Şub 2008
1995-12-22T09:05:02 = 22 Ara 1995
-0010-09-15T04:44:23 = 15 Eyl -10

🎀 Short 🎀

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

🌼 Time Formats 🌼

Time format examples! Same timestamps, now with clock energy ⏰✨

🔥 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 🦄

Date plus time, together at last. It's giving “calendar and clock are besties” 😭💖

💫 Full 💫

2008-02-05T18:30:30 = 5 Şubat 2008 Salı 18:30:30 UTC
1995-12-22T09:05:02 = 22 Aralık 1995 Cuma 09:05:02 UTC
-0010-09-15T04:44:23 = 15 Eylül -10 Cumartesi 04:44:23 UTC

💫 Long 💫

2008-02-05T18:30:30 = 5 Şubat 2008 18:30:30 UTC
1995-12-22T09:05:02 = 22 Aralık 1995 09:05:02 UTC
-0010-09-15T04:44:23 = 15 Eylül -10 04:44:23 UTC

💫 Medium 💫

2008-02-05T18:30:30 = 5 Şub 2008 18:30:30
1995-12-22T09:05:02 = 22 Ara 1995 09:05:02
-0010-09-15T04:44:23 = 15 Eyl -10 04:44:23

💫 Short 💫

2008-02-05T18:30:30 = 5.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 bestie, this is the big one: every available format, with its examples. Hydrate before you scroll 💧💅

🌟 Bh (B h) 🌟

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

🌟 Bhm (B h:mm) 🌟

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

🌟 Bhms (B h:mm:ss) 🌟

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

🌟 E (ccc) 🌟

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

🌟 EBhm (E B h:mm) 🌟

2008-02-05T18:30:30 = Sal B 6:30
1995-12-22T09:05:02 = Cum B 9:05
-0010-09-15T04:44:23 = Cmt B 4:44

🌟 EBhms (E B h:mm:ss) 🌟

2008-02-05T18:30:30 = Sal B 6:30:30
1995-12-22T09:05:02 = Cum B 9:05:02
-0010-09-15T04:44:23 = Cmt B 4:44:23

🌟 EHm (E HH:mm) 🌟

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

🌟 EHms (E HH:mm:ss) 🌟

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

🌟 Ed (d E) 🌟

2008-02-05T18:30:30 = 5 Sal
1995-12-22T09:05:02 = 22 Cum
-0010-09-15T04:44:23 = 15 Cmt

🌟 Ehm (E a h:mm) 🌟

2008-02-05T18:30:30 = Sal ÖS 6:30
1995-12-22T09:05:02 = Cum ÖÖ 9:05
-0010-09-15T04:44:23 = Cmt ÖÖ 4:44

🌟 Ehms (E a h:mm:ss) 🌟

2008-02-05T18:30:30 = Sal ÖS 6:30:30
1995-12-22T09:05:02 = Cum ÖÖ 9:05:02
-0010-09-15T04:44:23 = Cmt ÖÖ 4:44:23

🌟 Gy (G y) 🌟

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

🌟 GyMMM (G MMM y) 🌟

2008-02-05T18:30:30 = MS Şub 2008
1995-12-22T09:05:02 = MS Ara 1995
-0010-09-15T04:44:23 = MÖ Eyl -10

🌟 GyMMMEd (G d MMM y E) 🌟

2008-02-05T18:30:30 = MS 5 Şub 2008 Sal
1995-12-22T09:05:02 = MS 22 Ara 1995 Cum
-0010-09-15T04:44:23 = MÖ 15 Eyl -10 Cmt

🌟 GyMMMd (G d MMM y) 🌟

2008-02-05T18:30:30 = MS 5 Şub 2008
1995-12-22T09:05:02 = MS 22 Ara 1995
-0010-09-15T04:44:23 = MÖ 15 Eyl -10

🌟 GyMd (GGGGG dd.MM.y) 🌟

2008-02-05T18:30:30 = MS 05.02.2008
1995-12-22T09:05:02 = MS 22.12.1995
-0010-09-15T04:44:23 = MÖ 15.09.-10

🌟 H (HH) 🌟

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

🌟 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 (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 (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 (L) 🌟

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

🌟 MEd (d/MM E) 🌟

2008-02-05T18:30:30 = 5/02 Sal
1995-12-22T09:05:02 = 22/12 Cum
-0010-09-15T04:44:23 = 15/09 Cmt

🌟 MMM (LLL) 🌟

2008-02-05T18:30:30 = Şub
1995-12-22T09:05:02 = Ara
-0010-09-15T04:44:23 = Eyl

🌟 MMMEd (d MMM E) 🌟

2008-02-05T18:30:30 = 5 Şub Sal
1995-12-22T09:05:02 = 22 Ara Cum
-0010-09-15T04:44:23 = 15 Eyl Cmt

🌟 MMMMEd (d MMMM E) 🌟

2008-02-05T18:30:30 = 5 Şubat Sal
1995-12-22T09:05:02 = 22 Aralık Cum
-0010-09-15T04:44:23 = 15 Eylül Cmt

🌟 MMMMW-count-one (MMMM 'ayının' W. 'haftası') 🌟

2008-02-05T18:30:30 = Şubat ayının 1. haftası
1995-12-22T09:05:02 = Aralık ayının 3. haftası
-0010-09-15T04:44:23 = Eylül ayının 2. haftası

🌟 MMMMW-count-other (MMMM 'ayının' W. 'haftası') 🌟

2008-02-05T18:30:30 = Şubat ayının 1. haftası
1995-12-22T09:05:02 = Aralık ayının 3. haftası
-0010-09-15T04:44:23 = Eylül ayının 2. haftası

🌟 MMMMd (d MMMM) 🌟

2008-02-05T18:30:30 = 5 Şubat
1995-12-22T09:05:02 = 22 Aralık
-0010-09-15T04:44:23 = 15 Eylül

🌟 MMMd (d MMM) 🌟

2008-02-05T18:30:30 = 5 Şub
1995-12-22T09:05:02 = 22 Ara
-0010-09-15T04:44:23 = 15 Eyl

🌟 Md (d/M) 🌟

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

🌟 d (d) 🌟

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

🌟 h (a h) 🌟

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

🌟 hm (a h:mm) 🌟

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

🌟 hms (a h:mm:ss) 🌟

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

🌟 hmsv (a h:mm:ss v) 🌟

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

🌟 hmv (a h:mm v) 🌟

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

🌟 mmss (mm:ss) 🌟

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

🌟 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 (MM/y) 🌟

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

🌟 yMEd (d.M.y E) 🌟

2008-02-05T18:30:30 = 5.2.2008 Sal
1995-12-22T09:05:02 = 22.12.1995 Cum
-0010-09-15T04:44:23 = 15.9.-10 Cmt

🌟 yMM (MM.y) 🌟

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

🌟 yMMM (MMM y) 🌟

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

🌟 yMMMEd (d MMM y E) 🌟

2008-02-05T18:30:30 = 5 Şub 2008 Sal
1995-12-22T09:05:02 = 22 Ara 1995 Cum
-0010-09-15T04:44:23 = 15 Eyl -10 Cmt

🌟 yMMMM (MMMM y) 🌟

2008-02-05T18:30:30 = Şubat 2008
1995-12-22T09:05:02 = Aralık 1995
-0010-09-15T04:44:23 = Eylül -10

🌟 yMMMd (d MMM y) 🌟

Still the same three dates doing the rounds for every pattern, bestie, so keep your eyes on these:

2008-02-05T18:30:30 = 5 Şub 2008
1995-12-22T09:05:02 = 22 Ara 1995
-0010-09-15T04:44:23 = 15 Eyl -10

yMd (dd.MM.y)

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 (y QQQ)

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

yQQQQ (y QQQQ)

2008-02-05T18:30:30 = 2008 1. çeyrek
1995-12-22T09:05:02 = 1995 4. çeyrek
-0010-09-15T04:44:23 = -10 3. çeyrek

yw-count-one (Y 'yılının' w. 'haftası')

2008-02-05T18:30:30 = 2008 yılının 6. haftası
1995-12-22T09:05:02 = 1995 yılının 51. haftası
-0010-09-15T04:44:23 = -10 yılının 37. haftası

yw-count-other (Y 'yılının' w. 'haftası')

2008-02-05T18:30:30 = 2008 yılının 6. haftası
1995-12-22T09:05:02 = 1995 yılının 51. haftası
-0010-09-15T04:44:23 = -10 yılının 37. haftası

🌸 Miscellaneous

Okay so the little quality-of-life deets, and honestly? The vibes are immaculate here too ✨

  • Prefers 24 hour time? Yes — no cap, it's 24-hour o'clock in this locale 🌙
  • Local first day of the week — 1 (Pazartesi), which is Monday bestie, week starts on Monday, periodt 🗓️

⏰ Strftime Patterns

Now for the classic strftime-style patterns — same three dates, same energy, let's go 💅

%c (%a %b %e %H:%M:%S %Y) — the date time format

2008-02-05T18:30:30 = Sal Şub  5 18:30:30 2008
1995-12-22T09:05:02 = Cum Ara 22 09:05:02 1995
-0010-09-15T04:44:23 = Cmt Eyl 15 04:44:23 -10

(That double space before the 5? Not a typo, it's %e doing its thing — day-of-month padded with a space. She's iconic like that 🎀)

%x (%m/%d/%y) — the 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

%X (%H:%M:%S) — the 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

🫶 SUPPORT

Need more? See DateTime::Locale. That's the whole thing — she keeps it short and sweet, lowkey iconic 🦋


And that's the page, bestie! This little Turkish-locale gem shipped with perl v5.42.0, dated 2024-12-12 — go forth and format your dates the tr way 💖🌸✨

📦 where this page comes from