date manipulation
date manipulation
(OP)
is there a Perl date object or function that i can use that will allow me to add days to a given date
thanks
thanks
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS Contact USThanks. We have received your request and will respond promptly. Come Join Us!Are you a
Computer / IT professional? Join Tek-Tips Forums!
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail. Posting Guidelines |
|
Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.
Here's Why Members Love Tek-Tips Forums:
Register now while it's still free!
Already a member? Close this window and log in.
RE: date manipulation
I have not had occassion to play with them, but, there are quite a few available from cpan at http://www.cpan.org/modules/by-module/Date/.
Alternatively, I have manipulated dates via the 'time' and 'localtime' functions. Since the 'time' function deals in seconds since 1.1.1970, you can do all you manipulations in seconds ( not really that big-a-deal) and use 'localtime' to convert it for output. This is very straightforward and flexible.
'hope this helps....
keep the rudder amid ship and beware the odd typo
RE: date manipulation
Sincerely,
Tom Anderson
CEO, Order amid Chaos, Inc.
http://www.oac-design.com
RE: date manipulation
Hardy Merrill
Mission Critical Linux, Inc.
http://www.missioncriticallinux.com