28 Aug 00:49
localtime()->timezone ???
From: Bill Welliver <hww3 <at> riverweb.com>
Subject: localtime()->timezone ???
Newsgroups: gmane.comp.lang.pike.user
Date: 2008-08-27 22:51:10 GMT
Subject: localtime()->timezone ???
Newsgroups: gmane.comp.lang.pike.user
Date: 2008-08-27 22:51:10 GMT
I'm wondering if perhaps I've misunderstood something; perhaps someone can enlighten me... localtime() returns a mapping, of which one, timezone, is indicated to be the offset from gmt, in seconds. Fair enough. When I use localtime(), I get 14400 for the offset, which is 4 hours. The problem is that I'm GMT-4... shouldn't the timezone indicate the direction of the offset, not just the magnitude? This is Pike 7.6.112 on Solaris 10/x86. Bill
RSS Feed