in reply to How to add time to timestamp?

As GrandFather pointed out, DateTime can handle both the formatting and calculations you want. That said, you could also use Time::Piece (which I think is part of Perl Core now) as well. It has the advantage of being somewhat "lighter-weight" compared to D::T.

It helps to remember that the primary goal is to drain the swamp even when you are hip-deep in alligators.