info > Date::Manip::Changes5to6

๐Ÿท๏ธ NAME

Date::Manip::Changes5to6 - describes differences between 5.xx and 6.00

๐Ÿš€ Quick Reference

Use CaseCommand / BehaviorDescription
Set alternate time zone Date_Init("SetDate=America/New_York") Use SetDate or ForceDate config instead of $::TZ
Override config from files Date_Init("ConfigFile=...", "DateFormat=...") List script overrides after config files in Date_Init
"today" now midnight ParseDate("today") โ†’ 00:00:00 Use "now" for current time; "today" gives start of day
Default time for parsed dates Date_Init("DefaultTime=curr") Controls whether a date without time defaults to 00:00:00 or current time
Stricter parsing "01//03/75" โ†’ no valid date Only wellโ€‘formed date delimiters accepted; no concatenated words
Convert time zones Date_ConvTZ($date, $from, $to) 3โ€‘argument form only; $from/$to default to local zone
Parse Apache log entry $date->parse_format($line) Use OO parse_format instead of old autoโ€‘detection
Approximate deltas changed DateCalc("Jan 10 1996 noon", "Jan 7 1998 noon") Result may use mixed signs (+2:0:-0:3:0:0:0) instead of +1:11:4:0:0:0:0

๐Ÿ“ SYNOPSIS

Date::Manip 6.00 represents a complete rethink and rewrite of Date::Manip. A great deal of effort was made to make sure that 6.00 is almost backwards compatible with 5.xx whenever feasible, but some functionality has changed in backwards incompatible ways. Other parts have been deprecated and will be removed at some point in the future.

This document describes the differences between the 5.xx series and version 6.00. This page primarily describes technical details, most of which do not impact how Date::Manip is used in scripts. If you want to make sure that a script which ran with 5.xx will run with 6.xx, refer to the Date::Manip::Migration5to6 document.

๐Ÿ”Ž OVERVIEW

The Date::Manip 5.xx series suffered from several weaknesses. These included:

Date::Manip 6.00 is a complete rewrite to address these and other issues.

๐Ÿ”„ GENERAL CHANGES

๐Ÿ•’ TIME ZONE SUPPORT

โš™๏ธ CONFIG FILES AND VARIABLES

๐Ÿ“… DATE PARSING AND OPERATIONS

โณ DELTAS

๐Ÿ” RECURRENCES

๐Ÿ“ฆ DATE::MANIP FUNCTIONS

The Date::Manip module contains the same functions as 5.xx (though the OO modules do all the work now). Changes:

๐Ÿ› BUGS AND QUESTIONS

Please refer to the Date::Manip::Problems documentation for information on submitting bug reports or questions to the author.

๐Ÿ”— SEE ALSO

Date::Manip - main module documentation

๐Ÿ“œ 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::Changes5to6
๐Ÿท๏ธ NAME ๐Ÿš€ Quick Reference ๐Ÿ“ SYNOPSIS ๐Ÿ”Ž OVERVIEW ๐Ÿ”„ GENERAL CHANGES ๐Ÿ•’ TIME ZONE SUPPORT โš™๏ธ CONFIG FILES AND VARIABLES ๐Ÿ“… DATE PARSING AND OPERATIONS โณ DELTAS ๐Ÿ” RECURRENCES ๐Ÿ“ฆ DATE::MANIP FUNCTIONS ๐Ÿ› BUGS AND QUESTIONS ๐Ÿ”— SEE ALSO ๐Ÿ“œ LICENSE โœ๏ธ AUTHOR

Generated by phpman v4.9.26-5-g7740029 Author: Che Dong Under GNU General Public License
2026-08-25 17:53 @216.73.217.127
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!