That's why i like [cpan://Time::Piece]. Not only is it a drop-in replacement for localtime and gmtime, Time::Piece also ...