Question: > 
> **Possible Duplicate:**  
> 
> [Web service - current time zone for a city?](https://stackoverflow.com/questions/55901/web-service-current-time-zone-for-a-city) 
> 
> 
> 

Just wondering whether there is a public web service (without reading from local machine time zone) that I could use to get the current date-time in that city using C#.

Answer: 
You can use [GeoNames](http://www.geonames.org) to get the time zone. From that and the current UTC time, you can work out the local time. (You can also download the GeoNames data to avoid having to make a remote call.)

Note that GeoNames uses the Olson time zone names - there are various mappings from those to Windows time zone names around on the net for use with [`TimeZoneInfo`](http://msdn.microsoft.com/en-us/library/system.timezoneinfo.aspx), or (plug) you could use [Noda Time](http://noda-time.googlecode.com) to perform the UTC to local time conversion. While there are aspects of Noda Time which are unfinished, that part should work fine.
[GeoNames](http://www.geonames.org/export/web-services.html) has one.