in reply to time zones
sub time { # ** conflicts with builtin 'time'! Yow! my $thistime = shift; $thistime -= 3 * 3600; # - three hours, since GMT+3 is that much ear +lier. my @a = gmtime($thistime); ... }
You should probably look at the strftime function offered by the POSIX module, it may make stringifing the date and changing it's format in the future simplier.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
10x everybody!!!!
by Yossi (Initiate) on Jul 29, 2001 at 01:01 UTC |