Current Time endpoint
The current_time
endpoint takes 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.
Getting started
Base URL
Validation endpoint
This was a successful request, and the details below are included in the response:
Request parameters
Your unique API key. Note that each user has unique API keys for each of Abstract’s APIs, so your Time, Date, and Timezone API key will not work for as your User Avatar API, for example.
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)
Response parameters
The API response is returned in a universal and lightweight JSON format.
The location from the request.
Decimal of the longitude found for the requested_location.
Decimal of the longitude found for the requested_location.
The current date and time of the requested_location.
Timezone’s name from the IANA Time Zone Database.
Timezone’s location.
Timezone’s abbreviation, also from the IANA Time Zone Database.
Timezone’s offset from Greenwich Mean Time (GMT).
True if the location is currently in Daylight Savings Time (DST).