Hi,
You can use 2 respective API :
1- Get the Location for City from GoogleAPI :
http://maps.googleapis.com/maps/api/geocode/json?address=San%20Francisco,+CA&sensor=false
2- Pass the retrieved location to TimeZone API
https://maps.googleapis.com/maps/api/timezone/json?location=39.6034810,-119.6822510×tamp=1331161200&key=YOUR_API_KEY
You can generate the timestamp manually, for instance in JS:
var
targetDate =
new
Date()
var
timestamp = targetDate.getTime()/1000 + targetDate.getTimezoneOffset() * 60
Hope it helps,
Assif