Check out
this node. I found it by doing a search (above) for 'date'. The node discusses modules that will do what you want, such as
Date::Calc and
Date::Format.
___
-DA
> perl -MPOSIX -e'$ENV{TZ}="US/Eastern";print ctime(10**9)'
Sat Sep 8 21:46:40 2001