in reply to How to convert time from one time zone to another
use Date::Manip
or use unix command
$ TZ=required_timezone date -d "21:45:56 current_timezone"
e.g.
$TZ=IST date -d "12:45:46 GMT"
$TZ=GMT date -d "12:45:46 +0800 or HKT"
|
---|
In Section
Seekers of Perl Wisdom