Timezone Detection
JustAPIDX provides an API to identify timezone details from the IP AddressExample Request
curl "https://justapidx.com/api/data?APIKey=test&IPAddress=69.78.70.144&dataType=timezone"
Sample Response
{
IPAddress: "69.78.70.144",
timezone_data: {
time_zone_name: "America/Chicago",
time_zone_abbr: "CST",
time_zone_offset: "-0600",
time_zone_is_dst: false,
time_zone_current_time: "2021-01-29T07:17:25-06:00"
}
}
Data Fields
Field | Description |
---|---|
time_zone_name | The name of the Timezone |
time_zone_abbr | The abbreviation of the Timezone |
time_zone_offset | The UTC offset of the Timezone |
time_zone_is_dst | true or false depending on whether or not Daylight Savings have been accounted for. |
time_zone_current_time | The exact current time in the Timezone the IP Address belongs to adjusted for Daylight Savings |