DateTim...e::fr_CH(3)

💖 NAME 💖

okay so bestie, this page is DateTim...e::fr_CH(3) from User Contributed Perl Documentation — aka DateTime::Locale::fr_CH. It's literally locale data examples for the French Switzerland (fr-CH) locale. That's the whole name vibe, no cap.


🌸 DESCRIPTION 🌸

This pod file is a whole showcase of examples of the locale data available for the French Switzerland locale. It's giving reference material, but make it French-Swiss 💅.

🦋 Days 🦋

✨ Wide (format) ✨

lundi
mardi
mercredi
jeudi
vendredi
samedi
dimanche

✨ Abbreviated (format) ✨

lun.
mar.
mer.
jeu.
ven.
sam.
dim.

✨ Narrow (format) ✨

L
M
M
J
V
S
D

✨ Wide (stand-alone) ✨

Same iconique list, stand-alone edition:

lundi
mardi
mercredi
jeudi
vendredi
samedi
dimanche

✨ Abbreviated (stand-alone) ✨

lun.
mar.
mer.
jeu.
ven.
sam.
dim.

✨ Narrow (stand-alone) ✨

L
M
M
J
V
S
D

🌈 Months 🌈

💜 Wide (format) 💜

janvier
février
mars
avril
mai
juin
juillet
août
septembre
octobre
novembre
décembre

💜 Abbreviated (format) 💜

janv.
févr.
mars
avr.
mai
juin
juil.
août
sept.
oct.
nov.
déc.

💜 Narrow (format) 💜

J
F
M
A
M
J
J
A
S
O
N
D

💜 Wide (stand-alone) 💜

janvier
février
mars
avril
mai
juin
juillet
août
septembre
octobre
novembre
décembre

💜 Abbreviated (stand-alone) 💜

janv.
févr.
mars
avr.
mai
juin
juil.
août
sept.
oct.
nov.
déc.

💜 Narrow (stand-alone) 💜

J
F
M
A
M
J
J
A
S
O
N
D

🎀 Quarters 🎀

🌟 Wide (format) 🌟

1er trimestre
2e trimestre
3e trimestre
4e trimestre

🌟 Abbreviated (format) 🌟

T1
T2
T3
T4

🌟 Narrow (format) 🌟

1
2
3
4

🌟 Wide (stand-alone) 🌟

1er trimestre
2e trimestre
3e trimestre
4e trimestre

🌟 Abbreviated (stand-alone) 🌟

T1
T2
T3
T4

🌟 Narrow (stand-alone) 🌟

1
2
3
4

🫶 Eras 🫶

⭐ Wide (format) ⭐

avant Jésus-Christ
après Jésus-Christ

⭐ Abbreviated (format) ⭐

av. J.-C.
ap. J.-C.

⭐ Narrow (format) ⭐

av. J.-C.
ap. J.-C.

🔥 Date Formats 🔥

💅 Full 💅

2008-02-05T18:30:30 = mardi, 5 février 2008
1995-12-22T09:05:02 = vendredi, 22 décembre 1995
-0010-09-15T04:44:23 = samedi, 15 septembre -10

💅 Long 💅

2008-02-05T18:30:30 = 5 février 2008
1995-12-22T09:05:02 = 22 décembre 1995
-0010-09-15T04:44:23 = 15 septembre -10

💅 Medium 💅

2008-02-05T18:30:30 = 5 févr. 2008
1995-12-22T09:05:02 = 22 déc. 1995
-0010-09-15T04:44:23 = 15 sept. -10

💅 Short 💅

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

🌸 Time Formats 🌸

🕰️ Full 🕰️

2008-02-05T18:30:30 = 18.30:30 h UTC
1995-12-22T09:05:02 = 09.05:02 h UTC
-0010-09-15T04:44:23 = 04.44:23 h 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 🦋

🎀 Full 🎀

2008-02-05T18:30:30 = mardi, 5 février 2008, 18.30:30 h UTC
1995-12-22T09:05:02 = vendredi, 22 décembre 1995, 09.05:02 h UTC
-0010-09-15T04:44:23 = samedi, 15 septembre -10, 04.44:23 h UTC

🎀 Long 🎀

2008-02-05T18:30:30 = 5 février 2008, 18:30:30 UTC
1995-12-22T09:05:02 = 22 décembre 1995, 09:05:02 UTC
-0010-09-15T04:44:23 = 15 septembre -10, 04:44:23 UTC

🎀 Medium 🎀

2008-02-05T18:30:30 = 5 févr. 2008, 18:30:30
1995-12-22T09:05:02 = 22 déc. 1995, 09:05:02
-0010-09-15T04:44:23 = 15 sept. -10, 04:44:23

🎀 Short 🎀

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

👑 Available Formats 👑

Bh (h B)

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)

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)

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 (E)

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

EBhm (E h:mm B)

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

EBhms (E h:mm:ss B)

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

EHm (E HH:mm)

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

EHms (E HH:mm:ss)

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

Ed (E d)

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

Ehm (E h:mm a)

2008-02-05T18:30:30 = mar. 6:30 PM
1995-12-22T09:05:02 = ven. 9:05 AM
-0010-09-15T04:44:23 = sam. 4:44 AM

Ehms (E h:mm:ss a)

2008-02-05T18:30:30 = mar. 6:30:30 PM
1995-12-22T09:05:02 = ven. 9:05:02 AM
-0010-09-15T04:44:23 = sam. 4:44:23 AM

Gy (y G)

2008-02-05T18:30:30 = 2008 ap. J.-C.
1995-12-22T09:05:02 = 1995 ap. J.-C.
-0010-09-15T04:44:23 = -10 av. J.-C.

GyMMM (MMM y G)

2008-02-05T18:30:30 = févr. 2008 ap. J.-C.
1995-12-22T09:05:02 = déc. 1995 ap. J.-C.
-0010-09-15T04:44:23 = sept. -10 av. J.-C.

GyMMMEd (E d MMM y G)

2008-02-05T18:30:30 = mar. 5 févr. 2008 ap. J.-C.
1995-12-22T09:05:02 = ven. 22 déc. 1995 ap. J.-C.
-0010-09-15T04:44:23 = sam. 15 sept. -10 av. J.-C.

GyMMMd (d MMM y G)

2008-02-05T18:30:30 = 5 févr. 2008 ap. J.-C.
1995-12-22T09:05:02 = 22 déc. 1995 ap. J.-C.
-0010-09-15T04:44:23 = 15 sept. -10 av. J.-C.

GyMd (dd/MM/y GGGGG)

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

H (HH 'h')

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

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 (E, dd.MM.)

2008-02-05T18:30:30 = mar., 05.02.
1995-12-22T09:05:02 = ven., 22.12.
-0010-09-15T04:44:23 = sam., 15.09.

MMM (LLL)

2008-02-05T18:30:30 = févr.
1995-12-22T09:05:02 = déc.
-0010-09-15T04:44:23 = sept.

MMMEd (E d MMM)

2008-02-05T18:30:30 = mar. 5 févr.
1995-12-22T09:05:02 = ven. 22 déc.
-0010-09-15T04:44:23 = sam. 15 sept.

MMMMW-count-one ('semaine' W (MMMM))

2008-02-05T18:30:30 = semaine 1 (février)
1995-12-22T09:05:02 = semaine 3 (décembre)
-0010-09-15T04:44:23 = semaine 2 (septembre)

MMMMW-count-other ('semaine' W (MMMM))

2008-02-05T18:30:30 = semaine 1 (février)
1995-12-22T09:05:02 = semaine 3 (décembre)
-0010-09-15T04:44:23 = semaine 2 (septembre)

MMMMd (d MMMM)

2008-02-05T18:30:30 = 5 février
1995-12-22T09:05:02 = 22 décembre
-0010-09-15T04:44:23 = 15 septembre

MMMd (d MMM)

2008-02-05T18:30:30 = 5 févr.
1995-12-22T09:05:02 = 22 déc.
-0010-09-15T04:44:23 = 15 sept.

MMdd (dd.MM)

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

Md (dd.MM.)

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

d (d)

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

h (h a)

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)

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)

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)

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)

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)

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 (E, dd.MM.y)

2008-02-05T18:30:30 = mar., 05.02.2008
1995-12-22T09:05:02 = ven., 22.12.1995
-0010-09-15T04:44:23 = sam., 15.09.-10

yMMM (MMM y)

2008-02-05T18:30:30 = févr. 2008
1995-12-22T09:05:02 = déc. 1995
-0010-09-15T04:44:23 = sept. -10

yMMMEd (E d MMM y)

2008-02-05T18:30:30 = mar. 5 févr. 2008
1995-12-22T09:05:02 = ven. 22 déc. 1995
-0010-09-15T04:44:23 = sam. 15 sept. -10

yMMMM (MMMM y)

2008-02-05T18:30:30 = février 2008
1995-12-22T09:05:02 = décembre 1995
-0010-09-15T04:44:23 = septembre -10

yMMMd (d MMM y)

(and this is where part 1's text stops — more locale data is coming in part 2, bestie 💖)

  • 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 → QQQ y
2008-02-05T18:30:30 = T1 2008
1995-12-22T09:05:02 = T4 1995
-0010-09-15T04:44:23 = T3 -10
  • yQQQQ → QQQQ y — bestie this is the long-form quarter, it's giving full sentence energy 🌸
2008-02-05T18:30:30 = 1er trimestre 2008
1995-12-22T09:05:02 = 4e trimestre 1995
-0010-09-15T04:44:23 = 3e trimestre -10
  • yw-count-one → 'semaine' w 'de' Y
2008-02-05T18:30:30 = semaine 6 de 2008
1995-12-22T09:05:02 = semaine 51 de 1995
-0010-09-15T04:44:23 = semaine 37 de -10
  • yw-count-other → 'semaine' w 'de' Y
2008-02-05T18:30:30 = semaine 6 de 2008
1995-12-22T09:05:02 = semaine 51 de 1995
-0010-09-15T04:44:23 = semaine 37 de -10

okay and yes, the count-one and count-other versions literally print the same thing here 😭 that's not a typo on my end, that's just how Swiss French week phrasing rolls — both plural forms land on semaine. no cap.


🎀 Miscellaneous 🎀

Prefers 24 hour time?

Yes. fr fr, no AM/PM shenanigans here 👑

Local first day of the week

1 (lundi) — Monday supremacy, we're starting the week correct 💅


✨ Strftime Patterns ✨

  • %c (%a %d %b %Y %T) — date time format
2008-02-05T18:30:30 = mar. 05 févr. 2008 18:30:30
1995-12-22T09:05:02 = ven. 22 déc. 1995 09:05:02
-0010-09-15T04:44:23 = sam. 15 sept. -10 04:44:23
  • %x (%d. %m. %y) — date format
2008-02-05T18:30:30 = 05. 02. 08
1995-12-22T09:05:02 = 22. 12. 95
-0010-09-15T04:44:23 = 15. 09. 10
heads up bestie: look at that last %x line — -0010 year comes out as 10, because %y is the short year and the sign doesn't survive. that's literally what the page says, I'm not making it up 🙈
  • %X (%T) — 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

that's the whole format buffet, every single pattern accounted for, nothing skipped 🫶


🌈 SUPPORT 🌈

See DateTime::Locale.

that's the whole support section, it's a short one — the locales do all the heavy lifting, iykyk 💜


and that's a wrap on this page, bestie! 🎀 this was pulled from perl v5.42.0, dated 2024-12-12, and yeah the page title is genuinely truncated like that in the real manpage — DateTim...e::fr_CH(3) — it's iconic, we don't question it. go format some Swiss French dates, you're gonna slay 💅✨

📦 where this page comes from