On Feb 4, 2015, at 5:20 PM, Shawn H Corey wrote:
>
> I seems to me if you change locales, you would necessarily change
> timezones too. But I haven't done much playing around with locales. :(
Me neither, but I'm learning more than I thought I would! ;) Looking
at the locales for just th
On Feb 4, 2015, at 4:30 PM, Shawn H Corey wrote:
>
> Have you read `perldoc perllocale` especially the `setlocale` function?
> http://perldoc.perl.org/perllocale.html#The-setlocale-function
Actually, I did, but unless I read it incorrectly, it doesn't appear to
have anything to do with t
On Wed, 4 Feb 2015 11:21:32 -0800
SSC_perl wrote:
> I'm trying to break out a timestamp into it's appropriate fields,
> like so:
>
> my ($sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst) =
> localtime($my_time);
>
> but no matter if I use localtime or gmtime, $my_time gets analyzed a
On Feb 4, 2015, at 1:55 PM, $Bill wrote:
>
> I had a similar situation where I'm in Pacific time and my server is in
> Eastern time.
>
> My solution was to just add this to my BEGIN { } :
> $ENV{TZ} = 'PST8PDT';
> to force my time displays to Pacific time.
I didn't think about add
I'm trying to break out a timestamp into it's appropriate fields, like
so:
my ($sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst) =
localtime($my_time);
but no matter if I use localtime or gmtime, $my_time gets analyzed as either in
the server's timezone or in UTC. I need to