我必须对其进行一些微调,以使其在我的数据库上工作,但这是可行的:
select from_tz(to_timestamp('2009-11-17 18:40:05','yyyy-mm-dd hh24:mi:ss'), 'UTC') at time zone 'America/New_York' from dual
关键是“在时区”语法。
欢迎分享,转载请注明来源:内存溢出
我必须对其进行一些微调,以使其在我的数据库上工作,但这是可行的:
select from_tz(to_timestamp('2009-11-17 18:40:05','yyyy-mm-dd hh24:mi:ss'), 'UTC') at time zone 'America/New_York' from dual
关键是“在时区”语法。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)