Hi! 👋 It looks like your location is currently: America/New_York
…where the local time is: 2020-10-29T12:09:53.882297-04: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):