I use the following SQL commands:
set time zone 'America/Sao_Paulo';
select localtime, current_time from rdb$database;
When I query the time I get an unexpected result.
Example output:
11:19:07 (IUtil.decodeTime / isc_decode_sql_time)
12:19:07 America/Sao_Paulo (IUtil.decodeTimeTz)
I determine the (2nd field) time with time zone with decodeTimeTz (IUtil).
I also created a small test project for this.
In it I create a connection to the DB, execute the two SQLs and read the values. What should i pay attention with decodeTimeTz so that i get the correct value?
Thanks for your help.
Andy