Are there any libraries or utilities that will formally spell out the time?
Examples:
5:37 -> five thirty-seven
2:00 -> two o'clock
4:05 -> five past four
12:00 -> noon
Bonus if it can also spell out the date.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Several. Perl options include Time::Human (and the related DateTime::Format::Human), Time::Fuzzy, and Time::ProseClock.