The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Date::Say::Czech - Outputs dates as text as you would speak it

SYNOPSIS

 use Date::Say::Czech;

 print time_to_say(time());
 print date_to_say($DAY, $MONTH, $YEAR);

 print day_to_say($DAY);
 print month_to_say($MONTH);
 print year_to_say($YEAR);

DESCRIPTION

This module provides functions to easily convert a date (given as either integer values for a day, a month and a year or as a unix timestamp) into the Czech text representation, like you would read it aloud.

FUNCTIONS

Please, put correct args to all functions, otherwise there is no guarantee what the result will be.

time_to_say($TIMESTAMP)

In the scalar context, returns a string consisting of the text representation of the date in given unix timestamp, like e.g. "dvacátého pátého června dva tisíce pět".

In list context, returns the three words of the string as the list.

date_to_say($DAY, $MONTH, $YEAR)

Takes the values for a day of a month, a month and a year as integers (month starting with 1) and translates them into the Czech text representation.

day_to_say($DAY)

Converts a day number to its Czech text representation.

month_to_say($MONTH)

Converts a month number (January = 1 etc.) to its Czech text representation.

year_to_say($YEAR)

Converts a year number to its Czech text representation.

BUGS

Please report all bugs to the author of this module: Jiri Vaclavik <my name dot my last name at gmail dot com>

Mail a Bug

AUTHOR

Jiri Vaclavik <my name dot my last name at gmail dot com>

SEE ALSO

Date::Spoken::German from Christian Winter

1 POD Error

The following errors were encountered while parsing the POD:

Around line 320:

Non-ASCII character seen before =encoding in '"dvacátého'. Assuming UTF-8