htmanning has asked for the wisdom of the Perl Monks concerning the following question:
Thanks.@months = qw(Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec); @weekDays = qw(Sun Mon Tue Wed Thu Fri Sat Sun); ($second, $minute, $hour, $dayOfMonth, $month, $yearOffset, $dayOfWee +k, $dayOfYear, $daylightSavings) = gmtime(); $year = 1900 + $yearOffset; $dateadded = "$weekDays[$dayOfWeek] $months[$month] $dayOfMonth, $yea +r - $hour:$minute:$second";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Getting a specific time zone
by ikegami (Patriarch) on Jul 08, 2010 at 06:47 UTC | |
|
Re: Getting a specific time zone
by Ratazong (Monsignor) on Jul 08, 2010 at 06:44 UTC |