Gryphaan has asked for the wisdom of the Perl Monks concerning the following question:
I have read through the perl docs and my head is spinning. I really don't understand much about the localtime function I'm hoping there is an easy method other than just subtracting the hours from the hour value and then have to figure out if going back that many hours actually changes the date. Specifically I'm looking to have the time / date displayed for GMT -3 instead of EST Thanks in advance, -- Brianuse POSIX qw(strftime); $today_date = strftime "%m/%d/%Y %T %Z", localtime;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Display the time / date for different time zones
by MeowChow (Vicar) on Mar 16, 2001 at 06:18 UTC | |
|
Re: Display the time / date for different time zones
by kschwab (Vicar) on Mar 16, 2001 at 07:18 UTC | |
|
Re: Display the time / date for different time zones
by stephen (Priest) on Mar 16, 2001 at 06:15 UTC |