设定适当的时区 [英] Setting proper time zone

查看:85
本文介绍了设定适当的时区的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好朋友,

我已经在asp.net(在科威特)中创建了一个应用程序,并且在印度有客户.问题是,考虑到我在中东时区,而我的客户之一在印度,所以现在有时间差异.我从印度客户那里得知该应用程序正在显示我们的时区,但没有显示他的时区.
有什么方法可以让应用程序从本地系统读取/读取时间?

谢谢与问候,
Taposi.

Hello Friends,

I have created an application in asp.net(in Kuwait) and I have clients in India. The problem is, consider i am in Middle East timezone and one of my customers is in India, now there is a time variation. I came to know from my India client that the application is displaying our timezone, but not his.
Is there any way to make the application read/take the time from the local system?

Thanks & Regards,
Taposi.

推荐答案

您需要将日期设置为世界标准时间.

一个很好的例子是:

http://msdn.microsoft.com/zh-CN /library/system.datetime.touniversaltime(v=vs.100).aspx [
You will need to set your dates to universal time.

A good example is:

http://msdn.microsoft.com/en-us/library/system.datetime.touniversaltime(v=vs.100).aspx[^]


这篇关于设定适当的时区的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆