Date::M...spanish(3)

💅 Date::M...spanish(3) — the Spanish glow-up for Date::Manip ✨

okay bestie, welcome to Date::M...spanish(3), part of the User Contributed Perl Documentation. this is the whole vibe: it's the Spanish language pack, and it is serving.


🎀 NAME 🎀

Date::Manip::Lang::spanish — Spanish language support. periodt. 💖


✨ SYNOPSIS ✨

so this module is literally just a big ol' pile of words and expressions that speak Spanish. it is not meant to be used directly by you, bestie — other Date::Manip modules will load it up whenever they need it, like a lil personal assistant. 🫶


🌸 LANGUAGE EXPRESSIONS 🌸

here's the tea: this is the full list of every language word and expression used to write out times and/or dates. 🕐📅

okay important note: all strings are case insensitive. so Enero, enero, ENERO — all of them hit. 💅

🌈 Month names and abbreviations

when you're writing out the name of a month, there are several different variations floating around — full names and abbreviations. both slay.

the following month names may be used:

Enero

Febrero

Marzo

Abril

Mayo

Junio

Julio

Agosto

Septiembre

Octubre

Noviembre

Diciembre

the following abbreviations may be used:

Ene

Feb

Mar

Abr

May

Jun

Jul

Ago

Sep

Oct

Nov

Dic

🦋 Day names and abbreviations

same energy for days of the week — multiple variations exist, full names and abbreviations both welcome.

the following day names may be used:

Lunes

Martes

Miércoles
Miercoles

Jueves

Viernes

Sábado
Sabado

Domingo

the following abbreviations may be used:

Lun

Mar

Mié
Mie

Jue

Vie

Sáb
Sab

Dom

the following short (1-2 characters) abbreviations may be used:

L

Ma

Mi

J

V

S

D
ngl, L for Lunes and M is nowhere to be found because Ma and Mi both start with M — the Spanish pack said "we're doing 2 chars, deal with it." 🙈

💜 Delta field names

these are the names (and abbreviations) for the fields inside a delta. there are 7 fields: years, months, weeks, days, hours, minutes, seconds. 👑

the names and abbreviations for these fields are:

anos
a
ano
ano
anos
años
año

meses
m
mes

semanas
sem
semana

dias
d
dia
días

horas
hr
hrs
hora

minutos
min
min
minuto

segundos
s
seg
segundo
yes bestie, ano and año are both in there. no cap. copy them exactly, don't get cute with it. 💀

⭐ Morning/afternoon times

this is the list of expressions used to designate morning or afternoon time when a time is entered as a 12-hour time rather than a 24-hour time. for example, in English, the time "17:00" could be specified as "5:00 PM". iconic behavior.

morning and afternoon time may be designated by the following sets of words:

AM
A.M.

PM
P.M.

🍓 Each or every

there are a list of words that specify every occurrence of something. these are used in the following phrases:

EACH Monday
EVERY Monday
EVERY month

the following words may be used:

cada

🧚 Next/Previous/Last occurrence

there are a list of words that may be used to specify the next, previous, or last occurrence of something. these words could be used in the following phrases:

NEXT week

LAST Tuesday
PREVIOUS Tuesday

LAST day of the month

the following words may be used:

Next occurrence:

siguiente

Previous occurrence:

anterior

Last occurrence:

ultimo
último

🔥 Delta words for going forward/backward in time

when parsing deltas, there are words that may be used to specify the delta will refer to a time in the future or to a time in the past (relative to some date). in English, for example, you might say:

IN 5 days
5 days AGO

the following words may be used to specify deltas that refer to dates in the past or future respectively:

hace

en
later
so hace = ago, and en / later = in/later. time travel but make it Spanish. ⏳✨

💼 Business mode

this contains two lists of words which can be used to specify a standard (i.e. non-business) delta or a business delta.

lowkey a little lore drop here: previously, it was used to tell whether the delta was approximate or exact, but now this list is not used except to force the delta to be standard. so it's giving legacy code energy. 😭

the following words may be used:

exactamente
aproximadamente

the following words may be used to specify a business delta:

laborales

👑 Numbers

numbers may be spelled out in a variety of ways. the following sets correspond to the numbers from 1 to 53:

1o
1a
uno
una
primero
primera

2o
2a
dos
segundo
segunda

3o
3a
tres
tercero
tercera

4o
4a
cuatro
cuarto
cuarta

5o
5a
cinco
quinto
quinta

6o
6a
seis
sexto
sexta

7o
7a
siete
séptimo
séptima
septimo
septima

8o
8a
ocho
octavo
octava

9o
9a
nueve
noveno
novena

10o
10a
diez
décimo
décima
decimo
decima

11o
11a
once
undécimo
undecimo
décimo primero
décimo primera
decimo primero
decimo primera

12o
12a
doce
décimo segundo
décimo segunda
decimo segundo
decimo segunda

13o
13a
trece
décimo tercero
décimo tercera
decimo tercero
decimo tercera

14o
14a
catorce
décimo cuarto
décimo cuarta
decimo cuarto
decimo cuarta

15o
15a
quince
décimo quinto
décimo quinta
decimo quinto
decimo quinta

16o
16a
dieciséis
dieciseis
décimo sexto
décimo sexta
decimo sexto
decimo sexta

17o
17a
diecisiete
décimo séptimo
décimo séptima
decimo septimo
decimo septima

18o
18a
dieciocho
décimo octavo
décimo octava
decimo octavo
decimo octava

19o
19a
diecinueve
décimo noveno
décimo novena
decimo noveno
decimo novena

20o
20a
veinte
vigesimo
vigesima
vigésimo
vigésima

21o
21a
veintiuno
veintiuna
veintiun
vigésimo primero
vigésimo primera
vigesimo primero
vigesimo primera

22o
22a
veintidós
veintidos
vigésimo segundo
vigésimo segunda
vigesimo segundo
vigesimo segunda

23o
23a
veintitrés
veintitres
vigésimo tercero
vigésimo tercera
vigesimo tercero
vigesimo tercera

24o
24a
veinticuatro
vigésimo cuarto
vigésimo cuarta
vigesimo cuarto
vigesimo cuarta

25o
25a
veinticinco
vigésimo quinto
vigésimo quinta
vigesimo quinto
vigesimo quinta

26o
26a
veintiséis
veintiseis
vigésimo sexto
vigésimo sexta
vigesimo sexto
vigesimo sexta

27o
27a
veintisiete
vigésimo séptimo
vigésimo séptima
vigesimo septimo
vigesimo septima

28o
28a
veintiocho
vigésimo octavo
vigésimo octava
vigesimo octavo
vigesimo octava

29o
29a
veintinueve
vigésimo noveno
vigésimo novena
vigesimo noveno
vigesimo novena

30o
30a
treinta
trigésimo
trigésima
trigesimo
trigesima

31o
31a
treinta y uno
treinta y una
trigésimo primero
trigésimo primera
trigesimo primero
trigesimo primera

32o
32a
treinta y dos
trigésimo segundo
trigesimo segundo
trigésimo segunda
trigesimo segunda

33o
33a
treinta y tres
trigésimo tercero
trigesimo tercero
trigésimo tercera
trigesimo tercera

34o
34a
treinta y cuatro
trigésimo cuarto
trigesimo cuarto
trigésimo cuarta
trigesimo cuarta

35o
35a
treinta y cinco
trigésimo quinto
trigesimo quinto
trigésimo quinta
trigesimo quinta

36o
36a
treinta y seis
trigésimo sexto
trigesimo sexto
trigésimo sexta
trigesimo sexta

37o
37a
treinta y siete
trigésimo séptimo
trigesimo septimo
trigésimo séptima
trigesimo septima

38o
38a
treinta y ocho
trigésimo octavo
trigesimo octavo
trigésimo octava
trigesimo octava
and bestie... that's only up to 38 on this page. there's more coming, don't you worry. 😌

okay bestie we're BACK and we are deep in the number mines 💅 no turning back now, the list keeps going, and every single form below is a real, accepted spelling — don't skip a single one, the parser is greedy and accepts all of them, periodt.

39o
39a
treinta y nueve
trigésimo noveno
trigesimo noveno
trigésimo novena
trigesimo novena

40o
40a
cuarenta
cuadragésimo
cuadragesimo
cuadragésima
cuadragesima

41o
41a
cuarenta y uno
cuarenta y una
cuadragésimo primero
cuadragésimo primera
cuadragesimo primero
cuadragesimo primera

42o
42a
cuarenta y dos
cuadragésimo segundo
cuadragesimo segundo
cuadragésimo segunda
cuadragesimo segunda

43o
43a
cuarenta y tres
cuadragésimo tercero
cuadragesimo tercero
cuadragésimo tercera
cuadragesimo tercera

44o
44a
cuarenta y cuatro
cuadragésimo cuarto
cuadragesimo cuarto
cuadragésimo cuarta
cuadragesimo cuarta

45o
45a
cuarenta y cinco
cuadragésimo quinto
cuadragesimo quinto
cuadragésimo quinta
cuadragesimo quinta

46o
46a
cuarenta y seis
cuadragésimo sexto
cuadragesimo sexto
cuadragésimo sexta
cuadragesimo sexta

47o
47a
cuarenta y siete
cuadragésimo séptimo
cuadragesimo septimo
cuadragésimo séptima
cuadragesimo septima

48o
48a
cuarenta y ocho
cuadragésimo octavo
cuadragesimo octavo
cuadragésimo octava
cuadragesimo octava

49o
49a
cuarenta y nueve
cuadragésimo noveno
cuadragesimo noveno
cuadragésimo novena
cuadragesimo novena

50o
50a
cincuenta
quincuagésimo
quincuagésima
quincuagesimo
quincuagesima

51o
51a
cincuenta y uno
cincuenta y una
quincuagésimo primero
quincuagésimo primera
quincuagesimo primero
quincuagesimo primera

52o
52a
cincuenta y dos
quincuagésimo segundo
quincuagesimo segundo
quincuagésimo segunda
quincuagesimo segunda

53o
53a
cincuenta y tres
quincuagésimo tercero
quincuagesimo tercero
quincuagésimo tercera
quincuagesimo tercera

that's the whole roster. Every accented and unaccented twin is in there, so you can be your sloppy self and it'll still vibe check out ✨


🌸 Ignored words 🌸

So when you're writing out dates the normal way, there's a whole lil crew of words that basically don't matter. They're just decorative, fr fr.

There's usually a word that shows up in a phrase to announce "hey, a TIME is coming next." In English that word is AT, like:

December 3 at 12:00

The words that can do this job:

a

Then there's another word that marks one member of a set. In English you'd reach for IN or OF:

1st day OF December
1st day IN December

The words that can do this job:

en
de

And one more word flags that something lands on a certain date. In English that's ON:

ON July 5th

The words that can do this job:

el

⏰ Words that set the date, time, or both ⏰

Okay so these are the glow-up words — the ones that can pin down a date, a time, or both, all relative to now. 👑

Words that set the date work like the English yesterday or tomorrow. They're stored as a delta that gets added to the current time to produce a date. But heads up — the time is NOT set. So the delta only gets partially used, and it should only ever carry year, month, week and day fields.

The words you can use:

Hoy                  0:0:0:0:0:0:0
ayer                 -0:0:0:1:0:0:0
manana               +0:0:0:1:0:0:0
mañana               +0:0:0:1:0:0:0

Words that set only the time of day are the ones that act like the English noon or midnight.

The words you can use:

medianoche           00:00:00
mediodia             12:00:00

And then we have the full-send words — the ones that set the entire time and date relative to the current time and date. In English, now is one of these.

The words you can use:

Ahora                0:0:0:0:0:0:0

🌈 Hour/Minute/Second separators 🌈

When you're specifying a time of day, the most common separator is a colon (:), and it can carry both separators at once. Simple. Iconic.

Some languages roll with different pairs though. For example, French lets you write a time like 13h30:20, so it'd be using these pairs:

: :
h :

First column = the hour-minute separator. Second column = the minute-second separator. Both of them are perl regular expressions. And when you're building a new translation, know that regexes with utf-8 characters can get messy — for example, don't include the expression '[x]' where 'x' is a utf-8 character. Just don't. 💀

A pair of colons is ALWAYS allowed for every language, no exceptions. If a language allows extra pairs on top of that, they're listed right here:

Not defined in this language

🍓 Fractional second separator 🍓

For fractional seconds, the most common move is a decimal point (.). Some languages might define a different separator you can use instead — and if they do, it's a regular expression.

The decimal point is ALWAYS allowed for every language. If a language allows another separator too, it's listed right here:

Not defined in this language

💀 KNOWN BUGS 💀

None known. Not a single one. Clean page, clean conscience, we love to see it.

🫶 BUGS AND QUESTIONS 🫶

If you've got a bug report or a question for the author, please refer to the Date::Manip::Problems documentation — it'll walk you through how to submit it. Don't just yell into the void, bestie 😭

👀 SEE ALSO 👀

  • Date::Manip — the main module documentation

📜 LICENSE 📜

This script is free software; you can redistribute it and/or modify it under the same terms as Perl itself. Go wild, legally.

👑 AUTHOR 👑

Sullivan Beck (sbeck@cpan.org)


And that's a wrap on the whole page, bestie 🎀 This beauty was shipped as part of perl v5.42.3, dated 2026-09-01. Now go forth and format your dates in Spanish with main character energy 🌸✨💅

📦 where this page comes from