← Back to Abstract
GET/v1/current_time

Current Time

Get the current time, date, and timezone for a location.

Abstract·$0.002 per call

Example code

// Using @orth/sdk - The simplest way to call APIs // Install: npm install @orth/sdk import Orthogonal from "@orth/sdk"; const orthogonal = new Orthogonal({ apiKey: process.env.ORTHOGONAL_API_KEY, }); const output = await orthogonal.run({ api: "abstractapi/timezone", path: "/v1/current_time", query: { "location": "example" } }); console.log(output);

Query parameters

locationrequired
string

Location name, lat/long, or IP address

    Orthogonal - Giving AI agents the tools they need.