converting to MT timestamp - HIVE

时间:2016-10-20 18:56:33

标签: hive mt

I want to convert a given timestamp to MT (Mountain Time) timestamp in HIVE. What is the easiest way to achieve this? Consideting today I am executing my code from PST but the code can be executed from central timestamp. Irrespective of from where the code is getting executed, I want to convert the input timestamp to MT timestamp. Also in some cases the timestamp is 0, so that also need to be handled.

0 个答案:

没有答案