Click here to Skip to main content
15,912,082 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi all,

I am in the situation to create a "Time Zone converter page" for an intranet site.

Should i go for Client side scripts/Server side scripts?

Which one is best to do this.

Please suggest me.

Thanks
Rajan.
Posted
Comments
Richard MacCutchan 15-Oct-13 9:59am    
What do you mean by "Time Zone converter"? There are lots of sites around that will display times for any zone, and Windows has built in methods to do the same.
NPSSR 15-Oct-13 10:12am    
Hi,

I need to calculate Time difference between two cities/countries.

Richard MacCutchan 15-Oct-13 10:34am    
Then you just need to find the timezone offsets for each place and calculate the difference. What exactly is the problem?
NPSSR 15-Oct-13 10:40am    
I would like to give the option for all available countries in both sides.

do i need to code this from client side or server side?

Richard MacCutchan 15-Oct-13 10:55am    
I am not sure how much of the client side API you can access from a web page, so you probably need to get the offset values from the server.

Take a look at http://www.worldtimeserver.com/index.aspx.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900