09.09.2021 12:36, Jiří Činčura wrote:
I'm trying to read response for `fb_info_creation_timestamp_tz`. Timezone 
piece. But I'm getting some weird data.
The whole buffer is `139, 12, 0, 8, 232, 0, 0, 10, 71, 173, 16, 216, 103, 147, 
0, 1`, thus if I'm counting correctly
the `216, 103, 147, 0` should be timezone data, which is weird.

    Time zone should be at bytes 8 - 11 (counting from zero), i.e. '71,
173, 16, 216', AFAIU

I think:
139 = fb_info_creation_timestamp_tz
12, 0 = length 12
8, 232, 0, 0 = 59400 = 05.07.2021
10, 71, 173, 16 = 279791370 = 07:46:19.1370000

And the time zone and 1 as end.

  Yes, you are correct of course. I thought you show "data" part of the 
response, not whole response :)

    The code you mention is buggy:
    The buffer you got contains garbage, if I'm right.

OK, I'll create an issue.

  Please, do

Regards,
Vlad


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to