获取infosphere流中的UTC / GMT时间戳

时间:2014-07-01 16:10:56

标签: bigdata infosphere-spl

我一直在使用Infosphere Streams的getTimestamp()方法获取当前时间戳。但是,由于多个实例在各个时区中运行,因此很难同步。有没有办法检索给定时刻的GMT时间戳?

1 个答案:

答案 0 :(得分:0)

忽略了API文档... gmtime(timeStamp,resultantTuple)解决了问题。