Hi! 👋 It looks like your location is currently: America/New_York
…where the local time is: 2020-01-18T17:36:33.775551-05:00
WorldTimeAPI is a simple web service which returns the local-time for a given timezone as either JSON or plain-text. Some additional information is provided, such as whether that timezone is currently in Daylight Savings Time, when DST starts and ends, the UTC offset, etc.
Note: by default, the API returns JSON. Adding a suffix of
.txt to any API URL will return a plain-text response, which may be easier to parse on some systems.
Request a list of valid timezones (as JSON):
$ curl "http://worldtimeapi.org/api/timezone"
Request a list of valid locations for an area (as JSON):
Request the current time for a timezone (in plain text or JSON):
Request the current time based on your public IP (as JSON):
$ curl "http://worldtimeapi.org/api/ip"
Request the current time for a specific IP (in plain text):