on 10-28-2014 6:27 PM
I need to find local DB's time zone just like "SessionTimeZone" in Oracle, how can I get from HANA SQL?
The reason I need it since I have UTC timestamp and needs to convert it to local timestamp. UTCTOLOCAL function needs to provide a timezone string. Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Lars.
However I have a serious problem now. I need to convert a UTC timestamp to a Local DB's timestamp with SQL. I found UTCTOLOCAL(t, timezone) function which requires me to enter 'timezone' string. And I retrieved it from M_HOST_INFORMATION, but that value like 'PDT' is not supported in the UTCTOLOCAL function. how can I solve it?
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.