在Azure表中保存和不保存UTC时间的选项 [英] Option to saving and not saving UTC time in Azure Table
本文介绍了在Azure表中保存和不保存UTC时间的选项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在我看来,Azure表始终将UTC时间节省到表中.甚至日期类型都有时区,例如 DateTimeOffset
.
It seems to me that Azure Table always saves UTC time to the table. Even the date type has time zone, e.g. DateTimeOffset
.
是否可以选择保存原始时间而不是UTC时间?
Is there an option to save original time, instead of UTC time?
推荐答案
是否可以选择保存原始时间而不是UTC时间?
Is there an option to save original time, instead of UTC time?
如果您希望将数据另存为 Edm.DateTime
,那么答案是否定的.该数据始终存储为UTC.
If you are looking to save the data as Edm.DateTime
, then the answer is no. That data is always stored as UTC.
查看全文