pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Yasir Malik <ymalik@cs.stevens.edu>
To: PostgreSQL <pgsql-sql@postgresql.org>
Subject: Re: Date/Time Conversion
Date: Sat, 2 Apr 2005 22:49:52 -0500 (EST)
Message-ID: <Pine.NEB.4.60.0504022247540.14075@dab.cs.stevens-tech.edu> (raw)
In-Reply-To: <4249ED1F.6080909@alpinegeophysics.com>
References: <4249ED1F.6080909@alpinegeophysics.com>

> beta_jgw=# update scenario1.time_test set local_hour = extract(hour from 
> to_timestamp(to_char(gmt_date,'YYYY-MM-DD')||' 
> '||to_char(gmt_hour,'99')||':00:00-00','YYYY-MM-DD HH24:MI:SS') at time zone 
> 'EST');                      ^^^^^^^^
>

Wild guess, but shouldn't that be :00:00:00?

Regards,
Yasir





view thread (5+ messages)  latest in thread

Message-ID: <Pine.NEB.4.60.0504022247540.14075@dab.cs.stevens-tech.edu>
Permalink:  ../Pine.NEB.4.60.0504022247540.14075@dab.cs.stevens-tech.edu/
Also on:    postgresql.org/message-id/Pine.NEB.4.60.0504022247540.14075@dab.cs.stevens-tech.edu

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: ymalik@cs.stevens.edu
  Subject: Re: Date/Time Conversion
  In-Reply-To: <Pine.NEB.4.60.0504022247540.14075@dab.cs.stevens-tech.edu>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox