Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想将给定的时间戳转换为 HIVE 中的 MT(山地时间)时间戳。实现这一目标的最简单方法是什么?考虑到今天我正在从 PST 执行我的代码,但代码可以从中央时间戳执行。无论代码从何处执行,我都想将输入时间戳转换为 MT 时间戳。同样在某些情况下时间戳为0,因此也需要处理。