perldoc > Date::Manip

📛 NAME

Date::Manip - Date manipulation routines

🚀 Quick Reference

Use CaseCommandDescription
Parse a date string$date->parse("today")Parse a date in any format, including international
Compare two dates$date1->cmp($date2)Compare two dates to determine which is earlier
Add or subtract time$date->add("+1 day")Add a delta (amount of time) to a date
Find recurring datesDate::Manip::Recur->new("every week")Create a recurring event and list occurrences
Convert time zones$date->convert("America/New_York")Convert a date from one time zone to another
Work with holidaysDate::Manip::Holidays->newDefine and use holidays and named events

📖 DESCRIPTION

Date::Manip is a series of modules designed to make any common date/time operation easy to do. Operations such as comparing two times, determining a date a given amount of time from another, or parsing international times are all easily done. It deals with time as it is used in the Gregorian calendar (the one currently in use) with full support for time changes due to daylight saving time.

From the very beginning, the main focus of Date::Manip has been to be able to do ANY desired date/time operation easily. Many other modules exist which may do a subset of these operations quicker or more efficiently, but no other module can do all of the operations available in Date::Manip.

Date::Manip has functionality to work with several fundamental types of data.

Among other things, Date::Manip allow you to:

Each of these tasks is trivial (one or two lines at most) with this package.

đŸ› ī¸ HOW TO USE DATE::MANIP

There are three different ways to use Date::Manip. There are three interfaces (version 5 functional interface, version 6 functional, and version 6 object-oriented). A complete description of each is included in the Date::Manip::Interfaces document. The recommended (and the only one with access to the full functionality of the module) is using the Object-Oriented interface.

📚 SEE ALSO

Because Date::Manip performs so many operations, the documentation is extensive. It includes the following documents:

â„šī¸ Information about the different interfaces

Read this for a detailed description of each of the interfaces, including information on how to choose and use the interface best suited to your situation.

A description of the functional interfaces:

âš™ī¸ Objects and configuration

An introduction to the Date::Manip classes used by the object-oriented interface and how to configure them:

🧩 Date::Manip object-oriented modules

These are the modules for using the object-oriented interface.

🕐 Timezone information

📋 Miscellaneous information

đŸ—‚ī¸ Information about the module and administrative things

📜 LICENSE

This script is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

âœī¸ AUTHOR

Sullivan Beck (sbeck AT cpan.org)

Date::Manip
📛 NAME 🚀 Quick Reference 📖 DESCRIPTION đŸ› ī¸ HOW TO USE DATE::MANIP 📚 SEE ALSO
â„šī¸ Information about the different interfaces âš™ī¸ Objects and configuration 🧩 Date::Manip object-oriented modules 🕐 Timezone information 📋 Miscellaneous information đŸ—‚ī¸ Information about the module and administrative things
📜 LICENSE âœī¸ AUTHOR

Generated by phpman v4.9.29 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-20 18:01 @2600:1f28:365:80b0:8802:8bb4:3873:328e
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)
Valid XHTML 1.0 Transitional!Valid CSS!
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format

^_top_^