DateTim...e::pt_PT(3)

✨ NAME ✨

okay bestie, this is the manual page for DateTime::Locale::pt_PT — the Portuguese Portugal (pt-PT) locale data one 💅

The actual NAME line vibe is: Locale data examples for the Portuguese Portugal (pt-PT) locale. That's it, that's the name, no cap 💖

🌸 DESCRIPTION 🌸

okay so this pod file contains examples of the locale data available for the Portuguese Portugal locale. It's giving reference sheet, but make it fashion ✨


🗓️ Days 🗓️

Wide (format)

segunda-feira
terça-feira
quarta-feira
quinta-feira
sexta-feira
sábado
domingo

Abbreviated (format)

segunda
terça
quarta
quinta
sexta
sábado
domingo

Narrow (format)

S
T
Q
Q
S
S
D

Wide (stand-alone)

segunda-feira
terça-feira
quarta-feira
quinta-feira
sexta-feira
sábado
domingo

Abbreviated (stand-alone)

segunda
terça
quarta
quinta
sexta
sábado
domingo

Narrow (stand-alone)

S
T
Q
Q
S
S
D

🗓️ Months 🗓️

Wide (format)

janeiro
fevereiro
março
abril
maio
junho
julho
agosto
setembro
outubro
novembro
dezembro

Abbreviated (format)

jan.
fev.
mar.
abr.
mai.
jun.
jul.
ago.
set.
out.
nov.
dez.

Narrow (format)

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

Wide (stand-alone)

janeiro
fevereiro
março
abril
maio
junho
julho
agosto
setembro
outubro
novembro
dezembro

Abbreviated (stand-alone)

jan.
fev.
mar.
abr.
mai.
jun.
jul.
ago.
set.
out.
nov.
dez.

Narrow (stand-alone)

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

🧮 Quarters 🧮

Wide (format)

1.º trimestre
2.º trimestre
3.º trimestre
4.º trimestre

Abbreviated (format)

T1
T2
T3
T4

Narrow (format)

1
2
3
4

Wide (stand-alone)

1.º trimestre
2.º trimestre
3.º trimestre
4.º trimestre

Abbreviated (stand-alone)

T1
T2
T3
T4

Narrow (stand-alone)

1
2
3
4

⏳ Eras ⏳

Wide (format)

antes de Cristo
depois de Cristo

Abbreviated (format)

a.C.
d.C.

Narrow (format)

a.C.
d.C.

📅 Date Formats 📅

Full

2008-02-05T18:30:30 = terça-feira, 5 de fevereiro de 2008
1995-12-22T09:05:02 = sexta-feira, 22 de dezembro de 1995
-0010-09-15T04:44:23 = sábado, 15 de setembro de -10

Long

2008-02-05T18:30:30 = 5 de fevereiro de 2008
1995-12-22T09:05:02 = 22 de dezembro de 1995
-0010-09-15T04:44:23 = 15 de setembro de -10

Medium

2008-02-05T18:30:30 = 05/02/2008
1995-12-22T09:05:02 = 22/12/1995
-0010-09-15T04:44:23 = 15/09/-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 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 🕰️

Full

2008-02-05T18:30:30 = terça-feira, 5 de fevereiro de 2008, 18:30:30 UTC
1995-12-22T09:05:02 = sexta-feira, 22 de dezembro de 1995, 09:05:02 UTC
-0010-09-15T04:44:23 = sábado, 15 de setembro de -10, 04:44:23 UTC

Long

2008-02-05T18:30:30 = 5 de fevereiro de 2008, 18:30:30 UTC
1995-12-22T09:05:02 = 22 de dezembro de 1995, 09:05:02 UTC
-0010-09-15T04:44:23 = 15 de setembro de -10, 04:44:23 UTC

Medium

2008-02-05T18:30:30 = 05/02/2008, 18:30:30
1995-12-22T09:05:02 = 22/12/1995, 09:05:02
-0010-09-15T04:44:23 = 15/09/-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 (ccc)

2008-02-05T18:30:30 = terça
1995-12-22T09:05:02 = sexta
-0010-09-15T04:44:23 = sábado

EBhm (E h:mm B)

2008-02-05T18:30:30 = terça 6:30 B
1995-12-22T09:05:02 = sexta 9:05 B
-0010-09-15T04:44:23 = sábado 4:44 B

EBhms (E h:mm:ss B)

2008-02-05T18:30:30 = terça 6:30:30 B
1995-12-22T09:05:02 = sexta 9:05:02 B
-0010-09-15T04:44:23 = sábado 4:44:23 B

EHm (E, HH:mm)

2008-02-05T18:30:30 = terça, 18:30
1995-12-22T09:05:02 = sexta, 09:05
-0010-09-15T04:44:23 = sábado, 04:44

EHms (E, HH:mm:ss)

2008-02-05T18:30:30 = terça, 18:30:30
1995-12-22T09:05:02 = sexta, 09:05:02
-0010-09-15T04:44:23 = sábado, 04:44:23

Ed (E, d)

2008-02-05T18:30:30 = terça, 5
1995-12-22T09:05:02 = sexta, 22
-0010-09-15T04:44:23 = sábado, 15

Ehm (E, h:mm a)

2008-02-05T18:30:30 = terça, 6:30 p.m.
1995-12-22T09:05:02 = sexta, 9:05 a.m.
-0010-09-15T04:44:23 = sábado, 4:44 a.m.

Ehms (E, h:mm:ss a)

2008-02-05T18:30:30 = terça, 6:30:30 p.m.
1995-12-22T09:05:02 = sexta, 9:05:02 a.m.
-0010-09-15T04:44:23 = sábado, 4:44:23 a.m.

Gy (y G)

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

GyMMM (MMM 'de' y G)

2008-02-05T18:30:30 = fev. de 2008 d.C.
1995-12-22T09:05:02 = dez. de 1995 d.C.
-0010-09-15T04:44:23 = set. de -10 a.C.

GyMMMEd (E, d 'de' MMM 'de' y G)

2008-02-05T18:30:30 = terça, 5 de fev. de 2008 d.C.
1995-12-22T09:05:02 = sexta, 22 de dez. de 1995 d.C.
-0010-09-15T04:44:23 = sábado, 15 de set. de -10 a.C.

GyMMMd (d 'de' MMM 'de' y G)

2008-02-05T18:30:30 = 5 de fev. de 2008 d.C.
1995-12-22T09:05:02 = 22 de dez. de 1995 d.C.
-0010-09-15T04:44:23 = 15 de set. de -10 a.C.

GyMd (dd/MM/y GGGGG)

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

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

2008-02-05T18:30:30 = terça, 05/02
1995-12-22T09:05:02 = sexta, 22/12
-0010-09-15T04:44:23 = sábado, 15/09

MMM (LLL)

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

MMMEd (E, d/MM)

2008-02-05T18:30:30 = terça, 5/02
1995-12-22T09:05:02 = sexta, 22/12
-0010-09-15T04:44:23 = sábado, 15/09

MMMMEd (ccc, d 'de' MMMM)

2008-02-05T18:30:30 = terça, 5 de fevereiro
1995-12-22T09:05:02 = sexta, 22 de dezembro
-0010-09-15T04:44:23 = sábado, 15 de setembro

MMMMW-count-one (W.'ª' 'semana' 'de' MMMM)

2008-02-05T18:30:30 = 1.ª semana de fevereiro
1995-12-22T09:05:02 = 3.ª semana de dezembro
-0010-09-15T04:44:23 = 2.ª semana de setembro

MMMMW-count-other (W.'ª' 'semana' 'de' MMMM)

2008-02-05T18:30:30 = 1.ª semana de fevereiro
1995-12-22T09:05:02 = 3.ª semana de dezembro
-0010-09-15T04:44:23 = 2.ª semana de setembro

MMMMd (d 'de' MMMM)

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

MMMd (d/MM)

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

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 p.m.
1995-12-22T09:05:02 = 9 a.m.
-0010-09-15T04:44:23 = 4 a.m.

hm (h:mm a)

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

hms (h:mm:ss a)

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

hmsv (h:mm:ss a v)

2008-02-05T18:30:30 = 6:30:30 p.m. UTC
1995-12-22T09:05:02 = 9:05:02 a.m. UTC
-0010-09-15T04:44:23 = 4:44:23 a.m. UTC

hmv (h:mm a v)

2008-02-05T18:30:30 = 6:30 p.m. UTC
1995-12-22T09:05:02 = 9:05 a.m. UTC
-0010-09-15T04:44:23 = 4:44 a.m. 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 = terça, 05/02/2008
1995-12-22T09:05:02 = sexta, 22/12/1995
-0010-09-15T04:44:23 = sábado, 15/09/-10

yMM (MM/y)

part 1 cuts off right here after yMM (MM/y) — part 2 is coming, don't act up 💅

…and finishing off that previous pattern, here's its last little triple 💖

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

yMMM (MM/y)

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

yMMMEEEEd (EEEE, d/MM/y)

okay this one is giving full government name energy — weekday spelled all the way out, day, month, year 🎀

2008-02-05T18:30:30 = terça-feira, 5/02/2008
1995-12-22T09:05:02 = sexta-feira, 22/12/1995
-0010-09-15T04:44:23 = sábado, 15/09/-10

yMMMEd (E, d/MM/y)

same vibe but the weekday is on a diet — abbreviated version ✨

2008-02-05T18:30:30 = terça, 5/02/2008
1995-12-22T09:05:02 = sexta, 22/12/1995
-0010-09-15T04:44:23 = sábado, 15/09/-10

yMMMM (MMMM 'de' y)

the mouthful one — full month name, and yes the 'de' is literal, it's the Portuguese "of" 💅

2008-02-05T18:30:30 = fevereiro de 2008
1995-12-22T09:05:02 = dezembro de 1995
-0010-09-15T04:44:23 = setembro de -10

yMMMMEd (ccc, d 'de' MMMM 'de' y)

maximum words, maximum slay 🔥

2008-02-05T18:30:30 = terça, 5 de fevereiro de 2008
1995-12-22T09:05:02 = sexta, 22 de dezembro de 1995
-0010-09-15T04:44:23 = sábado, 15 de setembro de -10

yMMMMd (d 'de' MMMM 'de' y)

all the words, none of the weekday 🫶

2008-02-05T18:30:30 = 5 de fevereiro de 2008
1995-12-22T09:05:02 = 22 de dezembro de 1995
-0010-09-15T04:44:23 = 15 de setembro de -10

yMMMd (d/MM/y)

back to numbers, short and sweet 🍓

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

yMd (dd/MM/y)

the only difference from the one above? The day is zero-padded, bestie 👑

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 (QQQQ 'de' y)

quarter time, with the little ordinal indicator º doing its thing 🌸

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

yQQQQ (QQQQ 'de' y)

same pattern string, same output — literally identical, no cap 💀

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

yw-count-one (w.'ª' 'semana' 'de' Y)

week-of-year, "one" flavour — look at that cute little .'ª' 🎀

2008-02-05T18:30:30 = 6.ª semana de 2008
1995-12-22T09:05:02 = 51.ª semana de 1995
-0010-09-15T04:44:23 = 37.ª semana de -10

yw-count-other (w.'ª' 'semana' 'de' Y)

the "other" plural flavour — and for pt_PT it lands on the exact same strings as above, so no drama 😌

2008-02-05T18:30:30 = 6.ª semana de 2008
1995-12-22T09:05:02 = 51.ª semana de 1995
-0010-09-15T04:44:23 = 37.ª semana de -10

🌈 Miscellaneous 🌈

Not everything fits in a tidy little pattern box, so here's the misc shelf:

Prefers 24 hour time?

Yes — 24h girlie through and through 🕕 no AM/PM chaos here.

Local first day of the week

7 (domingo) — Sunday is the main character, as it should be 👑


✨ Strftime Patterns ✨

okay so this is the strftime corner of the page — the classic C-library-flavoured format shortcuts, each with the pattern it expands to in parentheses. Here we go 💖

%c (%a %d %b %Y %T) - date time format

the whole shebang, date and time together 🔥

2008-02-05T18:30:30 = terça 05 fev. 2008 18:30:30
1995-12-22T09:05:02 = sexta 22 dez. 1995 09:05:02
-0010-09-15T04:44:23 = sábado 15 set. -10 04:44:23

%x (%d/%m/%Y) - date format

date only, day first because that's just how we do it 🎀

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

%X (%T) - time format

and time only, %T style ⏰

2008-02-05T18:30:30 = 18:30:30
1995-12-22T09:05:02 = 09:05:02
-0010-09-15T04:44:23 = 04:44:23
Quick vibe check: that -10 year showing up everywhere is not a typo, bestie — the examples genuinely include a negative year, and every pattern above formats it exactly like that 🙈

🦋 SUPPORT 🦋

Need more? See DateTime::Locale.


and that's the whole page, bestie — you ate 💅 this one shipped as perl v5.42.0, dated 2024-12-12, and it's the DateTim...e::pt_PT(3) page (yes, with the truncated-looking name, that's literally how it's rendered, don't come for me 😭). go forth and format Portuguese dates flawlessly 🫶

📦 where this page comes from