World Time Data

World Time API는 주어진 위치의 현지 시간 정보를 제공합니다. 현지 시간대 뿐 아니라 일광 절약 시간제(Daylight Savings Time) 적용 여부, UTC 오프셋 등의 추가 정보를 제공합니다.

Data Name
World Time Data
BASE URL PATH
https://api.vessellink.com/v1/cyclone
DATA COVERAGE
Global


1. Timezone API

USE OUR WIZARD TO TRY OUT THIS ENDPOINT ➜

1.1 Request Parameter

curl --request GET \
     --url 'https://api.vessellink.com/v1/timeZone?lat=32.54&long=123.23' \
     --header 'Accept: application/json'

Parameter

Description

Type

lat

The latitude to know time zone

(float) ISO 6709 decimal point

long

The longitude to know time zone

(float) ISO 6709 decimal point


1.2 API Response

{
    "meta": {
        "code": 200,
        "lat": 32.1,
        "long": 123.45
    },
    "timeZone": {
        "timezoneName" : "Seoul, Korea",
        "utcTime" : "2021-12-29T00:00:00Z",
        "localTime" : "2021-12-29T09:00:00",
        "utcOffset" : 9

    }
}

Field

Description

Unit

meta - code

Response code

integer

meta - lat

The latitude to know time zone

(float) ISO 6709 decimal point

meta - long

The longitude to know time zone

(float) ISO 6709 decimal point

timeZone - timezoneName

timezone in Area/Location or Area/Location/Region format

string

timeZone - utcTime

The current date/time in UTC

(string) ISO8601

timeZone - localTime

The current, local date/time

(string) ISO8601

timeZone - utcOffset

The offset from UTC

float