Skip to content
Prev 775 / 1559 Next

RPostgreSQL driver timestamp data type mapping

On Wed, 13 Jan 2010 07:09:57 +0000 (GMT),
Prof Brian Ripley <ripley-+7o2aNKnwVPQzY9nttDBhA at public.gmane.org> wrote:
[...]
Does setting tzone=NULL have the same effect as setting it to "GMT", in
that daylight savings are no longer relevant?  This is the only reason I
wanted to set it "GMT", and avoid daylight savings issues that I don't
need to deal with.  Usually I do this starting from a character vector,
as in:

as.POSIXct(strptime("2010-01-13 01:00:00", "%Y-%m-%d %H:%M:%S), tz="GMT")

Thanks,
Message-ID: <87r5pumdl4.fsf@kolob.sebmags.homelinux.org>
In-Reply-To: <alpine.LFD.2.00.1001130705370.23279@gannet.stats.ox.ac.uk> (Brian Ripley's message of "Wed, 13 Jan 2010 07:09:57 +0000 (GMT)")