http://www.perlmonks.org?node_id=558178


in reply to Find time after current time

It can be as simple as this; or, format it accordingly:

print scalar localtime(time+(60*2));