libtime-piece-perl | Perl module for object oriented time objects | Mehr ...
Time::Piece is a Perl module that is designed to replace the standard gmtime and localtime functions with implementations that return objects. It does so in a backward-compatible manner, so that using localtime/gmtime in the way documented in `perlfunc' will still return what you think. . Furthermore, objects of this class will allow you to get any part of the date or time via method calls. It has methods for Julian days and supports some simple date arithmetic operations. It also provides easy access strftime and strptime functions to parse and output locale-sensitive dates.