Time::Compare - Perl extension for comparing time Test it for simple usage use Time::Compare; $tm1 = Time::Compare->new('10:00:00'); $tm2 = Time::Compare->new('11:00:00'); if ($tm1 > $tm2) ... This module you can use for simple comparing time Only create two objects for comparing and work with them Operations with these objects - >,<,eq,=>,<= Time format for such objects is HH:MM:SS - you can use such format if you work with MySQL time format

EXPORT
You can get time digits in vars $time->{HH} - hours $time->{MM} - minutes, $time->{SS} - seconds $time->{TIME} - time Mention other useful documentation such as the documentation of related modules or operating system documentation (such as man pages in UNIX), or any relevant external documentation such as RFCs or standards. If you have a mailing list set up for your module, mention it here. If you have a web site set up for your module, mention it here. yak <lt>yak@nm.ru<gt> Copyright yak 2004 by yak This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.