Skip to content

Time and Date API: Get time in city

Gets the current local time, time zone, and next daylight saving change for a city listed on Time and Date. Add a state or country to distinguish cities with the same name.

Unofficial. Not affiliated with or endorsed by Time and Date.

Inputs

Values from the run on Oct 31, 2026, shown under Output.

City, requiredcity

City name, with a state or country if needed, for example "Portland, Oregon".

Sydney

Output

From a run on Oct 31, 2026.
{  "city": "Sydney",  "link": "https://www.timeanddate.com/worldclock/australia/sydney",  "country": "Australia",  "local_date": "2026-09-29",  "local_time": "2026-09-29T14:39:54+10:00",  "utc_offset": "UTC+10",  "time_zone_name": "Australian Eastern Standard Time",  "local_time_text": "Tuesday, 2:39 PM",  "time_zone_abbreviation": "AEST",  "next_daylight_saving_change": "2026-10-04T02:00:00+10:00",  "daylight_saving_time_in_effect": false}
Price
1 credit per completed run (1¢ with pay as you go); failed runs are free.
Method
timeanddate.com/get_time_in_city
Returns
city, country, local date and time, time zone name and abbreviation, UTC offset, DST status, next DST change, link

Use it from your agent

Give your agent this line. It reads SKILL.md, gets a Fous API key and connects the Fous MCP server. Its run then takes the method timeanddate.com/get_time_in_city with the inputs above.

Ask your agent

  • What time is it right now in Auckland, New Zealand?
  • Check timeanddate.com for the current local time and UTC offset in Portland, Maine
  • Is Phoenix, Arizona observing daylight saving time right now, and what's its time zone abbreviation?
  • When is the next clock change in Berlin, and what's the local time there now?
  • Look up the current date and time in Hyderabad, India on Time and Date
  • Converts a meeting time in one city to local times in other cities, with time zones and 09:00-17:00 working-hours status. Supports dates from 1970 to 2030; ambiguous clock-change times use the first occurrence.

    timeanddate.com/convert_time_between_cities
  • Gets daily sunrise, sunset, solar noon, day length and civil twilight for a place from Time and Date, for one or more consecutive days. Times are local with UTC offset; days without sunrise or sunset are marked.

    timeanddate.com/get_sunrise_and_sunset
  • Counts weekdays between two dates, excluding nationwide public holidays or, optionally, public holidays in a state or province, from Time and Date's published holiday calendar.

    timeanddate.com/count_business_days
  • Gets current conditions and today's high and low from The Weather Channel for a city, postcode, ZIP code or street address worldwide. Street addresses are geocoded exactly first; some observations omit gusts or other measurements.

    weather.com/get_current_weather
  • Gets a city's current Numbeo cost of living indices, monthly estimates without rent, and typical prices. Add a country or state to tell apart cities with the same name.

    numbeo.com/get_cost_of_living
  • Finds upcoming International Space Station sightings for a city in NASA's city list, with local start times, visibility and sky directions. Cities without scheduled passes return an empty list.

    nasa.gov/get_iss_sightings
  • Gets current conditions and RealFeel for a city or postal code on AccuWeather. The UV level follows standard UV-index ranges. Air quality is null unless it is shown with the current conditions.

    accuweather.com/get_current_weather
  • Gets the latest observed weather from a nearby National Weather Service station for a US city, address, or ZIP code. Measurements the station does not report are null.

    weather.gov/get_current_conditions