# 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.

- Page: https://fous.com/methods/timeanddate.com/get-time-in-city
- Method: `timeanddate.com/get_time_in_city`, version 1
- Website: timeanddate.com
- Returns: city, country, local date and time, time zone name and abbreviation, UTC offset, DST status, next DST change, link
- Effect: read (it gets data and changes nothing)
- Sign-in: none needed
- Cost: 1 credit per completed run (1¢ with pay as you go); failed runs are free

## Inputs

| Field | Type | Required | In the run below | Description |
|---|---|---|---|---|
| `city` | string | yes | `"Sydney"` | City name, with a state or country if needed, for example "Portland, Oregon". |

## Output

From a run on Oct 31, 2026. Its input:

```json
{
  "city": "Sydney"
}
```

Its output:

```json
{
  "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
}
```

## Run it

From code, with a Fous API key in `FOUS_API_KEY`; the answer's `data` holds the output:

```bash
curl https://api.fous.com/v1/runs \
  -H "Authorization: Bearer $FOUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"method":"timeanddate.com/get_time_in_city","input":{"city":"Sydney"}}'
```

From an AI agent connected to the Fous MCP server: its `run` with the same method and input. To connect one, give it `set up https://fous.com/SKILL.md`.

## 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

## Input schema

```json
{
  "type": "object",
  "required": [
    "city"
  ],
  "properties": {
    "city": {
      "type": "string",
      "description": "City name, with a state or country if needed, for example \"Portland, Oregon\"."
    }
  }
}
```

## Output schema

```json
{
  "type": "object",
  "required": [
    "city",
    "country",
    "local_date",
    "local_time",
    "local_time_text",
    "time_zone_name",
    "time_zone_abbreviation",
    "utc_offset",
    "daylight_saving_time_in_effect",
    "next_daylight_saving_change",
    "link"
  ],
  "properties": {
    "city": {
      "type": "string",
      "description": "City name."
    },
    "link": {
      "type": "string",
      "description": "Time and Date city page."
    },
    "country": {
      "type": "string",
      "description": "Country name."
    },
    "local_date": {
      "type": "string",
      "format": "date",
      "description": "Local calendar date."
    },
    "local_time": {
      "type": "string",
      "description": "Current local date and time in ISO 8601 with UTC offset."
    },
    "utc_offset": {
      "type": "string",
      "description": "Current offset from UTC, such as UTC+9."
    },
    "time_zone_name": {
      "type": "string",
      "description": "Current time zone name."
    },
    "local_time_text": {
      "type": "string",
      "description": "Local day of week and time in readable form."
    },
    "time_zone_abbreviation": {
      "type": "string",
      "description": "Current time zone abbreviation."
    },
    "next_daylight_saving_change": {
      "type": [
        "string",
        "null"
      ],
      "description": "Next daylight saving clock change, as the local scheduled date and time with the pre-change offset, or null if none is listed."
    },
    "daylight_saving_time_in_effect": {
      "type": "boolean",
      "description": "Whether daylight saving time is now in effect."
    }
  },
  "additionalProperties": false
}
```

## See more

- [Time and Date API: Convert time between cities](https://fous.com/methods/timeanddate.com/convert-time-between-cities.md): 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.
- [Time and Date API: Get sunrise and sunset](https://fous.com/methods/timeanddate.com/get-sunrise-and-sunset.md): 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.
- [Time and Date API: Count business days](https://fous.com/methods/timeanddate.com/count-business-days.md): 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.
- [The Weather Channel API: Get current weather](https://fous.com/methods/weather.com/get-current-weather.md): 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.
- [Numbeo API: Get cost of living](https://fous.com/methods/numbeo.com/get-cost-of-living.md): 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.
- [NASA API: Get ISS sightings](https://fous.com/methods/nasa.gov/get-iss-sightings.md): 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.
- [AccuWeather API: Get current weather](https://fous.com/methods/accuweather.com/get-current-weather.md): 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.
- [NWS API: Get current conditions](https://fous.com/methods/weather.gov/get-current-conditions.md): 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.
- [All Time and Date methods](https://fous.com/methods/timeanddate.com.md)
