---
name: "DateTime::Format::Flexible::lang::es"
section: "3pm"
platform: "linux"
package: "libdatetime-format-flexible-perl"
version: "0.37-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/DateTime::Format::Flexible::lang::es"
---

# DateTime::Format::Flexible::lang::es(3pm)

spanish language plugin

## NAME

DateTime::Format::Flexible::lang::es - spanish language plugin

## DESCRIPTION

You should not need to use this module directly.

If you only want to use one language, specify the lang property when parsing a date.

example:

```
 my $dt = DateTime::Format::Flexible->parse_datetime(
     '29 de febrero de 1996' ,
     lang => ['es']
 );
 # $dt is now 1996-02-29T00:00:00
```

Note that this is not required, by default ALL languages are scanned when trying to parse a date.

### new

Instantiate a new instance of this module.

### months

month name regular expressions along with the month numbers (enero\|enro\|eno =\> 1)

### days

day name regular expressions along the the day numbers (lunes =\> 1)

### day\_numbers

maps day of month names to the corresponding numbers (primero =\> 01)

### hours

maps hour names to numbers (ediodia =\> 12:00:00)

### remove\_strings

strings to remove from the date (de as in cinco de mayo)

### parse\_time

currently does nothing

### string\_dates

maps string names to real dates (ahora =\> DateTime-\>now)

### relative

parse relative dates (ago =\> hace, from =\> a partir de ahora, next =\> siguiente, last =\> pasado)

### math\_strings

useful strings when doing datetime math

### timezone\_map

maps unofficial timezones to official timezones for this language (PDT  =\> America/Tijuana)

## AUTHOR

```
    Tom Heady
    CPAN ID: thinc
    Punch, Inc.
    cpan@punch.net
    http://www.punch.net/
```

## COPYRIGHT & LICENSE

Copyright 2011 Tom Heady.

This program is free software; you can redistribute it and/or modify it under the terms of either:

- •

  the GNU General Public License as published by the Free\
       Software Foundation; either version 1, or (at your option) any\
       later version, or

- •

  the Artistic License.

## SEE ALSO

*DateTime::Format::Flexible*
