是否可以在 Windows Azure 上指定时区?
我要将系统迁移到 Windows Azure。所有现有功能都将使用 UTC 时间。有没有办法设置全球时区?或者我需要更改所有显示时间的代码?我的应用程序将主要在指定的时区提供服务。
我尝试在 web.config 上应用文化和 uiculture。但它不起作用。
谢谢。
I am going to migrating a system to Windows Azure. And it will used UTC time for all existing function. Is there any way to set the time zone globally? Or I need to change all the code which display the time? My application will mainly serve in a specified timezone.
I have try apply the culture and uiculture on web.config. And it does not work.
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
根据 Windows Azure 团队博客 - 所有计时计算/显示等已移至 UTC。https://azure.microsoft.com/en-us/blog/moving-to-cooperative-universal-time-utc/
我觉得你需要改变显示时间的代码也节省了时间..
As per the Windows Azure Team Blog - all the timing calculations/display etc have been moved to UTC.. https://azure.microsoft.com/en-us/blog/moving-to-coordinated-universal-time-utc/
I feel you would need to change the code which display the time as well which saves the time as well..