Is there an API to find the time per week for overseas (US)?

Asked 1 years ago, Updated 1 years ago, 109 views

Hello.

We are preparing a service in the U.S. this time.

You want to send a PUSH message at a specific time In the case of the United States, there seems to be a time difference for each state, so I wonder if there is an API to find the time of the week.

First of all, with the user's GPS information, the local information is brought through the Google geocode API I can't find a time zone in your area.

Is there an API to get the current time of the region with IP, GPS, or local information?

Please give me your opinion.

Then have a good day today.

global-time

2022-09-22 15:30

2 Answers

Unfortunately... Even if it's the same week, the time might be different.

Google timezone api. It's free up to 2,500 queries a day.

https://maps.googleapis.com/maps/api/timezone/json?location=39.6034810,-119.6822510&timestamp=1331161200&key=YOUR_API_KEY

If you request it like this, UTC will give you a response to tell you what the time difference is.


2022-09-22 15:30

Please refer to it. Moment Timezone


2022-09-22 15:30

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.