Is there a way I can fool localtime() into giving me the EST time or any other idea for how to get the current EST time from a CET-based machine?
DateTime.pm makes this trivial.
$ perl -MDateTime -le 'print DateTime->now(time_zone => "EST")' 2006-07-17T04:37:59
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
In reply to Re: Finding a remote time
by davorg
in thread Finding a remote time
by Moron
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |