with table1 as
(
select timestamp '2017-02-28 23:58:41' as connecteddatetimeutc
,1234 as startdtoffset
)
select ConnectedDatetimeUTC
,startdtoffset
,from_unixtime (unix_timestamp(connecteddatetimeutc) + startdtoffset) as connecteddattimeManual2
from table1
;
1条答案
按热度按时间j2cgzkjk1#