如何维持印度时间 [英] How to maintain indian time
本文介绍了如何维持印度时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
海,请问有人可以帮帮我吗,
我在美国有服务器.但我需要在印度使用该应用程序.
因此存在时间差异.在印度,应用程序仅显示昨天的日期.它只会显示下午的实际日期
在此先感谢您
Hai can you any one please help me,
i have the server in US. but i need to use the application in India.
So the time diffrence is there . In India at morning the application shows only the yesterday date. it will show the actual date afternoon only
thanks in advance
推荐答案
您需要询问您的用户他们在哪里,并相应地调整显示他们的时间/日期.如果您想尝试自动检测,还可以编写JavaScript来查找本地时间,然后通过回发或AJAX将其发送到服务器.
You need to ask your users where they are, and adjust the time/date you show them accordingly. You can also write javascript to find the local time and send it to the server via a postback or AJAX, if you want to try to auto detect.
这篇关于如何维持印度时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文