Time Calculator
Time Endpoint
The Time endpoint allows you to calculate the difference between the current time and a specified point in time given as a UNIX timestamp. This endpoint is useful for applications that need to track elapsed time or calculate durations from a specific moment.
Endpoint
URL:
https://api.erensko.xyz/v1/time
Method:
GET
Description: This endpoint takes the provided UNIX time and provides a large amount of information about it.
URL Parameters
unix
The UNIX timestamp representing the point in time you want to compare against the current time. Measured in seconds.
timezone
The time zone you wish to use: EST
, CET
, or PST
. Default is CET
if not provided. If you would like a different option, please contact us in our support server.
Headers
Authorization
Your own personal API key, create one by clicking here. This is required.
Request Example
Example Response:
Usage Note
The timestamp parameter must be a valid UNIX timestamp (seconds since January 1, 1970).
Last updated