DateTim...ale::sk(3)

🎀 NAME 🎀

DateTime::Locale::sk — locale data examples for the Slovak (sk) locale 💖

(straight outta the User Contributed Perl Documentation, bestie — you're in the right place 🫶)


🦋 DESCRIPTION 🦋

Okay so this pod file is literally just a showcase of all the locale data you get for the Slovak locale. Think of it as a vibe check for sk — every day name, month name, quarter, era, and every single format string, with real example timestamps so you can see exactly what it produces. No cap, it's all here ✨

The example timestamps you'll keep seeing over and over are these three icons:

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

🌸 Days

Wide (format)

pondelok
utorok
streda
štvrtok
piatok
sobota
nedeľa

Abbreviated (format)

po
ut
st
št
pi
so
ne

Narrow (format)

p
u
s
š
p
s
n

Wide (stand-alone)

pondelok
utorok
streda
štvrtok
piatok
sobota
nedeľa

Abbreviated (stand-alone)

po
ut
st
št
pi
so
ne

Narrow (stand-alone)

p
u
s
š
p
s
n

🦋 Months

Wide (format)

januára
februára
marca
apríla
mája
júna
júla
augusta
septembra
októbra
novembra
decembra

Abbreviated (format)

jan
feb
mar
apr
máj
jún
júl
aug
sep
okt
nov
dec

Narrow (format)

j
f
m
a
m
j
j
a
s
o
n
d

Wide (stand-alone)

január
február
marec
apríl
máj
jún
júl
august
september
október
november
december

Abbreviated (stand-alone)

jan
feb
mar
apr
máj
jún
júl
aug
sep
okt
nov
dec

Narrow (stand-alone)

j
f
m
a
m
j
j
a
s
o
n
d

💜 Quarters

Wide (format)

1. štvrťrok
2. štvrťrok
3. štvrťrok
4. štvrťrok

Abbreviated (format)

Q1
Q2
Q3
Q4

Narrow (format)

1
2
3
4

Wide (stand-alone)

1. štvrťrok
2. štvrťrok
3. štvrťrok
4. štvrťrok

Abbreviated (stand-alone)

Q1
Q2
Q3
Q4

Narrow (stand-alone)

1
2
3
4

👑 Eras

Wide (format)

pred Kristom
po Kristovi

Abbreviated (format)

pred Kr.
po Kr.

Narrow (format)

pred Kr.
po Kr.

🎀 Date Formats

Full

2008-02-05T18:30:30 = utorok 5. februára 2008
1995-12-22T09:05:02 = piatok 22. decembra 1995
-0010-09-15T04:44:23 = sobota 15. septembra -10

Long

2008-02-05T18:30:30 = 5. februára 2008
1995-12-22T09:05:02 = 22. decembra 1995
-0010-09-15T04:44:23 = 15. septembra -10

Medium

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

Short

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

⏰ 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 = utorok 5. februára 2008, 18:30:30 UTC
1995-12-22T09:05:02 = piatok 22. decembra 1995, 9:05:02 UTC
-0010-09-15T04:44:23 = sobota 15. septembra -10, 4:44:23 UTC

Long

2008-02-05T18:30:30 = 5. februára 2008, 18:30:30 UTC
1995-12-22T09:05:02 = 22. decembra 1995, 9:05:02 UTC
-0010-09-15T04:44:23 = 15. septembra -10, 4:44:23 UTC

Medium

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

Short

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

✨ Available Formats ✨

This is the big one, bestie — every named format string, one by one, each with its three little example outputs. It's giving catalogue. Obsessed 💅

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

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

EBhm (E h:mm B)

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

EBhms (E h:mm:ss B)

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

EHm (E HH:mm)

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

EHms (E HH:mm:ss)

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

Ed (E d.)

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

Ehm (E h:mm a)

2008-02-05T18:30:30 = ut 6:30 PM
1995-12-22T09:05:02 = pi 9:05 AM
-0010-09-15T04:44:23 = so 4:44 AM

Ehms (E h:mm:ss a)

2008-02-05T18:30:30 = ut 6:30:30 PM
1995-12-22T09:05:02 = pi 9:05:02 AM
-0010-09-15T04:44:23 = so 4:44:23 AM

Gy (y G)

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

GyMMM (LLLL y G)

2008-02-05T18:30:30 = február 2008 po Kr.
1995-12-22T09:05:02 = december 1995 po Kr.
-0010-09-15T04:44:23 = september -10 pred Kr.

GyMMMEd (E d. M. y G)

2008-02-05T18:30:30 = ut 5. 2. 2008 po Kr.
1995-12-22T09:05:02 = pi 22. 12. 1995 po Kr.
-0010-09-15T04:44:23 = so 15. 9. -10 pred Kr.

GyMMMMd (d. M. y G)

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

GyMMMd (d. M. y G)

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

GyMd (d. M. y GGGGG)

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

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

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

MEd (E d. M.)

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

MMM (LLL)

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

MMMEd (E d. M.)

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

MMMMEd (E d. MMMM)

2008-02-05T18:30:30 = ut 5. februára
1995-12-22T09:05:02 = pi 22. decembra
-0010-09-15T04:44:23 = so 15. septembra

MMMMW-count-few (W. 'týždeň' MMMM)

2008-02-05T18:30:30 = 1. týždeň februára
1995-12-22T09:05:02 = 3. týždeň decembra
-0010-09-15T04:44:23 = 2. týždeň septembra

MMMMW-count-many (W. 'týždeň' MMMM)

2008-02-05T18:30:30 = 1. týždeň februára
1995-12-22T09:05:02 = 3. týždeň decembra
-0010-09-15T04:44:23 = 2. týždeň septembra

MMMMW-count-one (W. 'týždeň' MMMM)

2008-02-05T18:30:30 = 1. týždeň februára
1995-12-22T09:05:02 = 3. týždeň decembra
-0010-09-15T04:44:23 = 2. týždeň septembra

MMMMW-count-other (W. 'týždeň' MMMM)

2008-02-05T18:30:30 = 1. týždeň februára
1995-12-22T09:05:02 = 3. týždeň decembra
-0010-09-15T04:44:23 = 2. týždeň septembra

MMMMd (d. MMMM)

2008-02-05T18:30:30 = 5. februára
1995-12-22T09:05:02 = 22. decembra
-0010-09-15T04:44:23 = 15. septembra

MMMd (d. M.)

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

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

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

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

yMEd (E d. M. y)

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

yMMM — M/y

okay so this is the "month + year, minimal effort" vibe ✨ month number first, then the year, no separator fr fr:

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

yMMMEd — E d. M. y

the full "day-of-week, day, month, year" situation with those little Slovak dots after each number 💅 it's giving very proper, very Slovak:

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

yMMMM — LLLL y

standalone month name energy 🌸 capitalized month word then the year, no day at all, main character month:

  2008-02-05T18:30:30 = február 2008
  1995-12-22T09:05:02 = december 1995
 -0010-09-15T04:44:23 = september -10

yMMMMd — d. MMMM y

obsessed with this one — day first, then the full month name in genitive form (that's februára, decembra, septembra, not the standalone február), then year 🎀 Slovak grammar said "you WILL decline that month" and it ate:

  2008-02-05T18:30:30 = 5. februára 2008
  1995-12-22T09:05:02 = 22. decembra 1995
 -0010-09-15T04:44:23 = 15. septembra -10

yMMMd — d. M. y

same as above but the month is just a number, so it's the "we're keeping it lowkey" version 🦋

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

yMd — d. M. y

literally identical output to yMMMd up there 👀 (yes really, no cap — look at the numbers, same string), it's just the plainer pattern with day/month/year and those dots:

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

yQQQ — QQQ y

quarter energy 🔥 abbreviated quarter, so Q1 through Q4, then the year:

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

yQQQQ — QQQQ y

the wide quarter name, spelled out with the Slovak word štvrťrok 👑 number, dot, word, year — iconic:

  2008-02-05T18:30:30 = 1. štvrťrok 2008
  1995-12-22T09:05:02 = 4. štvrťrok 1995
 -0010-09-15T04:44:23 = 3. štvrťrok -10

week-of-year patterns 🗓️

okay bestie, these four are the same pattern but split out by plural category — that's the count-few, count-many, count-one, count-other variants. And fun fact: for the Slovak locale they all produce the same thing here, which, slay, less work for us 💅

The pattern is w. 'týždeň' 'roka' Y — week number, then the literal quoted text týždeň and roka, then the week-year. Note those single quotes in the pattern are literal-text markers, not part of the output.

yw-count-few — w. 'týždeň' 'roka' Y

  2008-02-05T18:30:30 = 6. týždeň roka 2008
  1995-12-22T09:05:02 = 51. týždeň roka 1995
 -0010-09-15T04:44:23 = 37. týždeň roka -10

yw-count-many — w. 'týždeň' 'roka' Y

  2008-02-05T18:30:30 = 6. týždeň roka 2008
  1995-12-22T09:05:02 = 51. týždeň roka 1995
 -0010-09-15T04:44:23 = 37. týždeň roka -10

yw-count-one — w. 'týždeň' 'roka' Y

  2008-02-05T18:30:30 = 6. týždeň roka 2008
  1995-12-22T09:05:02 = 51. týždeň roka 1995
 -0010-09-15T04:44:23 = 37. týždeň roka -10

yw-count-other — w. 'týždeň' 'roka' Y

  2008-02-05T18:30:30 = 6. týždeň roka 2008
  1995-12-22T09:05:02 = 51. týždeň roka 1995
 -0010-09-15T04:44:23 = 37. týždeň roka -10

🫶 Miscellaneous

quick little settings dump, no biggie:

  • Prefers 24 hour time? — Yes 🕗 (military time girlies, this is your moment)
  • Local first day of the week — 1 (pondelok) — that's Monday, bestie, week starts on Monday here 🌸

⭐ Strftime Patterns

the classic strftime-style escapes, but make it Slovak 💖 here's all three:

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

the whole entire date plus time in one go, date-time icon behavior 🔥

  2008-02-05T18:30:30 = ut feb  5 18:30:30 2008
  1995-12-22T09:05:02 = pi dec 22 09:05:02 1995
 -0010-09-15T04:44:23 = so sep 15 04:44:23 -10

(and yes, feb 5 has two spaces there because %e is space-padded — that's not me being sloppy, that's the pattern 🎀)

%x (%m/%d/%y) — date format

just the date, month/day/two-digit-year, slash slashes everywhere 🌈

  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) — time format

time only, 24-hour clock, no notes 💀

  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 it, that's the support section — go read the parent module, iykyk 🫶


and that's the page, bestie! 🎀 literally all of the Slovak locale tea, served fresh.

okay so the sign-off: this little beauty is from the Perl core docs, perl v5.42.0, and it was last touched on 2024-12-12 — and the page header/footer names it DateTim...ale::sk(3). go forth and format dates in Slovak, you absolute icon 👑✨

📦 where this page comes from