【发布时间】:2020-09-25 01:25:02
【问题描述】:
我为我们的 SharePoint 在线网站开发了一个远程事件接收器,远程事件接收器托管在 azure Web 应用程序中。现在在远程事件接收器中,我得到了 DateTime 字段的值,如下所示:-
DateTime approveDate = (DateTime)projectItem["ApproveDate"];
所以我不确定哪个时区将用于呈现 DateTiem; SharePoint 区域设置的时区是:-
现在,如果在我的远程事件接收器代码中,我写了这段代码System.TimeZone.CurrentTimeZone.StandardName,我将得到Coordinated Universal Time。
【问题讨论】:
标签: sharepoint timezone azure-web-app-service