TimeDate(3) User Contributed Perl Documentation TimeDate(3)

# [SYNOPSIS](#SYNOPSIS)

```
    use Date::Format;
    use Date::Parse;
    # Formatting
    print time2str("%Y-%m-%d %T", time);          # 2024-01-15 14:30:00
    print time2str("%a %b %e %T %Y\n", time);     # Mon Jan 15 14:30:00 2024
    # Parsing
    my $time = str2time("Wed, 16 Jun 94 07:29:35 CST");
    my ($ss,$mm,$hh,$day,$month,$year,$zone) = strptime("2024-01-15T14:30:00Z");
    # Multi-language support
    use Date::Language;
    my $lang = Date::Language->new('German');
    print $lang->time2str("%a %b %e %T %Y\n", time);
```

# [DESCRIPTION](#DESCRIPTION)

The TimeDate distribution provides date parsing, formatting, and timezone handling for Perl.

[Date::Parse](#Date::Parse)

Parse date strings in a wide variety of formats into Unix timestamps or component values.

[Date::Format](#Date::Format)

Format Unix timestamps or localtime arrays into strings using "strftime"-style conversion specifications.

[Date::Language](#Date::Language)

Format and parse dates in over 30 languages including French, German, Spanish, Chinese, Russian, Arabic, and many more.

[Time::Zone](#Time::Zone)

Timezone offset lookups and conversions for named timezones.

# [SEE ALSO](#SEE_ALSO)

Date::Format, Date::Parse, Date::Language, Time::Zone

2026-10-24 perl v5.44.0

---

Document: TimeDate(3pm) from perl-timedate 2.35-r4 (Chainguard OS)
Source: https://github.com/atoomic/perl-TimeDate
