在AWS Athena中定义并转换DateTime
我有一个过程需要匹配UTC DateTime和EDT DateTime的过程。
如您所知,EDT可以在4/5小时之间从UTC更改。 如何将一个DateTime定义为在UTC中,而在EDT中进行匹配并匹配两者?
类似(DateTime_A是我的EDT TIMESTAMP,而DateTime_B是我的UTC):
Where CAST((datetime_A as EDT) to UTC)=datetime_B
谢谢!
I have a process where I need to to match UTC datetime and EDT datetime.
As you know, EDT can be changed between 4/5 hours from UTC.
How can I define one datetime to be in UTC and another to be in EDT and match the two?
Something like (datetime_A is my EDT timestamp, and datetime_B is my UTC):
Where CAST((datetime_A as EDT) to UTC)=datetime_B
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论