in reply to How can i add 2 hours to localtime?

perl -e 'print scalar(localtime(time + 7200))'

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.