DateTime.Now vs. DateTime.UtcNow

后端 未结 13 1507
暗喜
暗喜 2020-11-28 17:43

I\'ve been wondering what exactly are the principles of how the two properties work. I know the second one is universal and basically doesn\'t deal with time zones, but can

13条回答
  •  暗喜
    暗喜 (楼主)
    2020-11-28 18:41

    The big difference :) is that DateTime.Now is not supported in SharePoint Workflow you must use DateTime.UtcNow

提交回复
热议问题