Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

Re: Timestamp conversion

$
0
0

Hi Ulf

 

HANA provides UTCTOLOAL and LOCALTOUTC conversion as built in functions (https://help.sap.com/saphelp_hanaplatform/helpdata/en/20/9f228975191014baed94f1b69693ae/content.htm?frameset=/en/20/ec6b…)

 

You might also want to check my blog note You got the time? on that.

 

The conversion functions actually take TIMESTAMP as an input parameter. Could it be that your timestamp actually is of type DECIMAL?

In that case you would need to convert it into a timestamp first (to_timestamp() should work).

 

- Lars


Viewing all articles
Browse latest Browse all 9165

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>