BST 格式的 Azure 流分析 System.Timestamp

azure stream analytics System.Timestamp in BST format

无论如何,我可以在 Azure 流分析作业中更改时区吗? 目前,它为 System.Timestamp 生成 UTC 时间。正在寻找转换为 BST 时区的方法。

谢谢

Azure 流分析中的所有时间处理操作are in UTC. It is recommended that timestamps are in UTC time zone and in ISO 8601 format. Time zone conversion is only possible through JavaScript user define functions

如果您有日期时间字段,您可以使用 TODATETIMEOFFSET 函数转换为首选时区。