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
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 |
---|---|---|
| The latitude to know time zone | (float) ISO 6709 decimal point |
| 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 |
---|---|---|
| Response code | integer |
| The latitude to know time zone | (float) ISO 6709 decimal point |
| The longitude to know time zone | (float) ISO 6709 decimal point |
| timezone in Area/Location or Area/Location/Region format | string |
| The current date/time in UTC | (string) ISO8601 |
| The current, local date/time | (string) ISO8601 |
| The offset from UTC | float |