- EXPORTABLE TAGS
- KNOWN ISSUES
- SEE ALSO
Date::Spoken::German - Output dates as Latin1 text as you would speak it
use Date::Spoken::German; print timetospoken( time() ); print datetospoken( $DAY, $MONTH, $YEAR );
This module provides you with functions to easily convert a date (given as either integer values for day, month and year or as a unix timestamp) to its representation as German text, like you would read it aloud.
:ALL - all helper methods are also exported into the callers namespace
- timetospoken( $TIMESTAMP )
In scalar context, return a string consisting of the text representation of the date in the given unix timestamp, like e.g. "dreizehnter Mai zweitausenddrei".
In list context, returns the three words of the string as a list.
- datetospoken( $DAY, $MONTH, $YEAR )
Takes the values for day of month, month and year as integers (month starting with 1) and gives the same return values as timetospoken.
- yeartospoken( $YEAR )
Takes a year (absolute integer value) as input and returns the text representation in German.
- monthtospoken( $MONTH )
Takes a month (integer value, January = 1) as input and returns the text representation in German.
- daytospoken( $DAY )
Converts a day number to its German text representation.
None at the moment.
Please report all bugs to the author of this module: Christian Winter <firstname.lastname@example.org>Mail a Bug
To Larry Wall for Perl itself, and to all developers out there contributing to the Perl community. Special thanks to all regulars in the usenet perl groups for giving me a lot of hints that helped me understand what Perl can do.
Type perldoc perl to get info on Perl itselft. Type perldoc perlmod to get info on Perl modules.