我没有看到 Converttotimezone() 函数在 azure 数据工厂表达式生成器中不可用,我正在尝试将一个日期列从 csv 文件保存到 oracle 列 TIMSTAMP(6) 带时区
从微软网址尝试了很多东西
您可以使用 ADF 中的
toTimestamp()
功能。因为,Azure 数据工厂表达式生成器中没有名为 converttotimezone()
的函数。
语法:
toTimestamp(_<string>_ : any, [_<timestamp format>_ : string], [_<time zone>_ : string]) => timestamp
使用 Azure 数据工厂中的
toTimestamp
函数将字符串值转换为 PST
时区中的时间戳值的示例:
toTimestamp(date_col, 'yyyy-MM-dd HH:mm:ss', 'PST')
这会将
date_col
转换为 PST
时区的时间戳值。您可以根据您的时区使用此功能。