Re: Date/Time Conversion

Поиск
Список
Период
Сортировка
От Yasir Malik
Тема Re: Date/Time Conversion
Дата
Msg-id Pine.NEB.4.60.0504022247540.14075@dab.cs.stevens-tech.edu
обсуждение исходный текст
Ответ на Date/Time Conversion  (James G Wilkinson <jgw@alpinegeophysics.com>)
Список pgsql-sql
> 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




В списке pgsql-sql по дате отправления:

Предыдущее
От: "Bill Lawrence"
Дата:
Сообщение: Getting the output of a function used in a where clause
Следующее
От: "Karthik Dakshinamoorthy"
Дата:
Сообщение: [ocpfree] Problem finding the time difference while tuning a query