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 |
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
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
- Body
- DateTimeJsonResponse
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
- Body
- DateTimeJsonResponse
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
- Body
- DateTimeJsonResponse
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
- Items
- ListJsonResponse
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 |
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 |