Mar 4, 2000, 11:35 AM
Post #1 of 3
Hello. Just wanted to know if there is a perl library that allows you to add and subtract dates and times -
Is there a perl library for adding/subtracting dates and times?
for example if you subtract 2 days from the date 01/01/2000 you would get 12/30/1999 or if you add 3 hours to date/time 02/26/2000 23:30 you would get 02/27/2000 02:30.
Also need to be able to execute a piece of code if it is between 9am and 5pm so comparison operators need to work too.
Please point me in the right direction if this exists and if there is already a nice faq or tutorial on this.