Compartir por


WorldTime (Independent Publisher) (Preview)

A simple API to get the current time based on a request with a timezone.

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@gmail.com
Connector Metadata
Publisher Fördős András
Website http://worldtimeapi.org/pages/examples
Privacy policy http://worldtimeapi.org/pages/privacypolicy
Categories Data

Throttling Limits

Name Calls Renewal Period
API calls per connection 100 60 seconds

Actions

Get all timezones

Request a list of valid timezones.

Get current time based on IP

Request the current time based on an IP. This is a "best guess" obtained from open-source data.

Get timezone of location

Request details of timezone for a location.

Get timezone of region

Request details of timezone for a region.

Get timezones of area

Request a list of valid timezones for an area.

Get all timezones

Request a list of valid timezones.

Returns

a list of available timezones

Get current time based on IP

Request the current time based on an IP. This is a "best guess" obtained from open-source data.

Parameters

Name Key Required Type Description
IPv4 Address
ipv4 True string

A valid IPv4 address, such as 8.8.8.8

Returns

Get timezone of location

Request details of timezone for a location.

Parameters

Name Key Required Type Description
Area
area True string

An available area

Location
location True string

Loction within area

Returns

Get timezone of region

Request details of timezone for a region.

Parameters

Name Key Required Type Description
Area
area True string

An available area

Location
location True string

Loction within area

Region
region True string

Region within location

Returns

Get timezones of area

Request a list of valid timezones for an area.

Parameters

Name Key Required Type Description
Area
area True string

An available area

Returns

a list of available timezones

Definitions

DateTimeJsonResponse

Name Path Type Description
Abbreviation
abbreviation string

The abbreviated name of the timezone.

Current DateTime
datetime string

An ISO8601-valid string representing the current local date/time.

Day of Week
day_of_week integer

Current day number of the week, where sunday is 0.

Day of Year
day_of_year integer

Ordinal date of the current year.

Is DST
dst boolean

Flag indicating whether the local time is in daylight savings.

DST started
dst_from string

An ISO8601-valid string representing the datetime when daylight savings started for this timezone.

DST offset (seconds)
dst_offset integer

The difference in seconds between the current local time and daylight saving time for the location.

DST ends
dst_until string

An ISO8601-valid string representing the datetime when daylight savings will end for this timezone.

Raw offset (seconds)
raw_offset integer

The difference in seconds between the current local time and the time in UTC, excluding any daylight saving difference (see dst_offset).

TimeZone
timezone string

Timezone in Area/Location or Area/Location/Region format.

UnixTime
unixtime integer

Number of seconds since the Epoch.

Current DateTime (UTC)
utc_datetime string

An ISO8601-valid string representing the current date/time in UTC.

UTC offset
utc_offset string

An ISO8601-valid string representing the offset from UTC.

Week of Year
week_number integer

The current week number.

ListJsonResponse

a list of available timezones

Name Path Type Description
Items
string