本文介绍了显示不同时区的等效时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

HI,

我和EST时区有一个Datetime.如果用户登录另一个时区,我想为该用户显示该EST时区的等效日期时间.
例如:我的EST时间:2011年1月12日:下午3:35:45(DD/MM/YYYY:HH:MM:SS)
如果用户登录印度时区(IST),则应显示高于EST时间的等时时间.

有人可以帮我怎么做吗?



I have a Datetime with me of EST Time zone. i want to show the equvallent datetime of that EST Timezone for the user if he logs in another time zone.
Ex: I have EST Time : 1/12/2011: 3:35:45 PM (DD/MM/YYYY:HH:MM:SS)
If user logs in India Timezone (IST) it should shown the equallent time of above EST Time.

can anybody please help me how to do this?

推荐答案


这篇关于显示不同时区的等效时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-12 00:22