"Stina" <stina76 (AT) yahoo (DOT) com> wrote
Quote:
Hi,
does anyone know if it is possible to read the timezone for the
current database session in Ingres? I have an application developed in
C where I want to read the current database time zone.
I have not found anything on dbmsinfo or inquire_sql as I hoped. |
I can't think of any way to get the timezone name.
However, I believe you can return the current date/time in GMT using
date_gmt('now'), so you can compute the difference between GMT and local
time, if that helps:
select date('now')-date_gmt('now)
Roy Hann (rhann at rationalcommerce dot com)
Rational Commerce Ltd.
www.rationalcommerce.com
"Ingres development, tuning, and training experts"