共用方式為


Abstract Timezones (Independent Publisher) (Preview)

The Abstract Time, Date, and Timezone service is the easiest way to find, convert, and manage time and timezone data across the world.

This connector is available in the following products and regions:

Service Class Regions
Logic Apps Standard All Logic Apps regions except the following:
     -   Azure Government regions
     -   Azure China regions
     -   US Department of Defense (DoD)
Power Automate Premium All Power Automate regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Power Apps Premium All Power Apps regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Contact
Name Fördős András
Email fordosa90+ipc_abstrtimezone@gmail.com
Connector Metadata
Publisher System Administrator
Website https://docs.abstractapi.com/timezones
Privacy policy https://www.abstractapi.com/legal/dpa
Categories Data;Business Intelligence

Creating a connection

The connector supports the following authentication types:

Default Parameters for creating connection. All regions Not shareable

Default

Applicable: All regions

Parameters for creating connection.

This is not shareable connection. If the power app is shared with another user, another user will be prompted to create new connection explicitly.

Name Type Description Required
API Key securestring The API Key for this api True

Throttling Limits

Name Calls Renewal Period
API calls per connection 100 60 seconds

Actions

Convert time

Convert the time and date of a given location to the time and date of another location. By default it converts the current time, but the conversion can take place in either the past or future with a simple parameter.

Current time

The current_time endpoint take a location in the form of a location name, latitude and longitude, or IP address and returns the current time, date, and timezone of that location.

Convert time

Convert the time and date of a given location to the time and date of another location. By default it converts the current time, but the conversion can take place in either the past or future with a simple parameter.

Parameters

Name Key Required Type Description
Base location
base_location True string

The location you use as a base to convert the datetime for. This parameter accepts the location as a string (e.g., Los Angeles, CA), a longitude and latitude (e.g., -31.4173391,-64.183319) , or an IP address (e.g., 82.111.111.111)

Target location
target_location True string

The location you want to get the datetime for. This parameter accepts the location as a string (e.g., Los Angeles, CA), a longitude and latitude (e.g., -31.4173391,-64.183319) , or an IP address (e.g., 82.111.111.111)

Base datetime
base_datetime string

The current datetime you’re converting, expected format 'YYYY-MM-DD HH:MI:SS'. If empty, defaulted to 'now'.

Returns

Name Path Type Description
Datetime
base_location.datetime string

The current date and time of the requested location.

Timezone name
base_location.timezone_name string

Timezone's name from the IANA Time Zone Database.

Timezone location
base_location.timezone_location string

Timezone's location.

Timezone abbreviation
base_location.timezone_abbreviation string

Timezone's abbreviation, also from the IANA Time Zone Database.

GMT offset
base_location.gmt_offset float

Timezone's offset from Greenwich Mean Time (GMT).

Is DST
base_location.is_dst boolean

True if the location is currently in Daylight Savings Time (DST).

Requested location
base_location.requested_location string

The location from the request.

Latitude
base_location.latitude float

Decimal of the longitude found for the requested location.

Longitude
base_location.longitude float

Decimal of the longitude found for the requested location.

Datetime
target_location.datetime string

The current date and time of the requested location.

Timezone name
target_location.timezone_name string

Timezone's name from the IANA Time Zone Database.

Timezone location
target_location.timezone_location string

Timezone's location.

Timezone abbreviation
target_location.timezone_abbreviation string

Timezone's abbreviation, also from the IANA Time Zone Database.

GMT offset
target_location.gmt_offset float

Timezone's offset from Greenwich Mean Time (GMT).

Is DST
target_location.is_dst boolean

True if the location is currently in Daylight Savings Time (DST).

Requested location
target_location.requested_location string

The location from the request.

Latitude
target_location.latitude float

Decimal of the longitude found for the requested location.

Longitude
target_location.longitude float

Decimal of the longitude found for the requested location.

Current time

The current_time endpoint take a location in the form of a location name, latitude and longitude, or IP address and returns the current time, date, and timezone of that location.

Parameters

Name Key Required Type Description
Location
location True string

The location to determine the current time and timezone of. This parameter accepts the location as a string (e.g., Los Angeles, CA), a longitude and latitude (e.g., -31.4173391,-64.183319) , or an IP address (e.g., 82.111.111.111)

Returns

Name Path Type Description
Datetime
datetime string

The current date and time of the requested location.

Timezone name
timezone_name string

Timezone's name from the IANA Time Zone Database.

Timezone location
timezone_location string

Timezone's location.

Timezone abbreviation
timezone_abbreviation string

Timezone's abbreviation, also from the IANA Time Zone Database.

GMT offset
gmt_offset integer

Timezone's offset from Greenwich Mean Time (GMT).

Is DST
is_dst boolean

True if the location is currently in Daylight Savings Time (DST).

Requested location
requested_location string

The location from the request.

Latitude
latitude float

Decimal of the longitude found for the requested location.

Longitude
longitude float

Decimal of the longitude found for the requested location.