Get time of different Time zones on selection of time from time picker

后端 未结 5 1098
醉梦人生
醉梦人生 2021-01-03 03:38

I have an issue of converting selected hours and minutes to different time zones of countries. Supposing if i select 10 am in India then i want to know at 10 am in india wha

5条回答
  •  执念已碎
    2021-01-03 04:13

    Not really sure about the solution I'm going to provide but I think you can try it. GMT (Greenwich Mean Time) is a standard. I think you can keep it as a base and calculate the desired time. GMT standard is easily available too.

    For example: While installing an OS like Windows XP or Windows 7, we select the time from a drop down menu. My point is, keeping this as the base, you can find the difference between the time zones in NY-US and Tokyo-Japan or vice versa as you desire it.

    Hope this helps.

提交回复
热议问题