IPGeolocation icon

IPGeolocation

Integrate ipgeolocation.io with n8n to automate IP lookup, geolocation, timezone data, and security checks for powerful workflow enrichment.

Get Time Conversion

AI-generated

Summary

Convert the time from one location or timezone to another using various identifiers such as timezone names, geographic coordinates, IATA/ICAO airport codes, city names, or UN/LOCODEs. Specify "From" and "To" locations using the chosen identifier type to calculate the precise time difference and conversion.

Inputs

  • Convert Time By (required) — Choose the method to specify locations: Coordinates, IATA Code, ICAO Code, Location, Timezone, or UN/LOCODE.
  • Time Zone (From) — Source timezone in IANA format (e.g., America/New_York), shown if 'Convert Time By' is 'timezone'.
  • Latitude (From) — Source latitude, shown if 'Convert Time By' is 'coords'.
  • Longitude (From) — Source longitude, shown if 'Convert Time By' is 'coords'.
  • Location (From) — Source location name (e.g., city, country), shown if 'Convert Time By' is 'location'.
  • IATA Code (From) — Source IATA airport code, shown if 'Convert Time By' is 'iata'.
  • ICAO Code (From) — Source ICAO airport code, shown if 'Convert Time By' is 'icao'.
  • UN/LOCODE (From) — Source UN/LOCODE, shown if 'Convert Time By' is 'locode'.
  • Time Zone (To) — Target timezone in IANA format, shown if 'Convert Time By' is 'timezone'.
  • Latitude (To) — Target latitude, shown if 'Convert Time By' is 'coords'.
  • Longitude (To) — Target longitude, shown if 'Convert Time By' is 'coords'.
  • Location (To) — Target location name, shown if 'Convert Time By' is 'location'.
  • IATA Code (To) — Target IATA airport code, shown if 'Convert Time By' is 'iata'.
  • ICAO Code (To) — Target ICAO airport code, shown if 'Convert Time By' is 'icao'.
  • UN/LOCODE (To) — Target UN/LOCODE, shown if 'Convert Time By' is 'locode'.

Output shape

a single JSON response containing the converted time details and time difference between the specified "From" and "To" locations/timezones.

The operation constructs a GET API request to endpoint '/v3/timezone/convert' with query parameters depending on the chosen "Convert Time By" method. The parameters for both source (From) and target (To) locations must be provided as applicable. This operation relies on valid time zone and location codes and returns raw API response data without additional transformation or pagination.

Links

Discussion