Documentation
Getting Started

Go (Golang) World Time API Implementation

High-performance implementation using net/http.

Go (Golang) Integration Snippet
package main
import (
	"encoding/json"
	"fmt"
	"net/http"
)

func main() {
	resp, _ := http.Get("https://currenttime.now/public/api/ip")
	var res map[string]interface{}
	json.NewDecoder(resp.Body).Decode(&res)
	fmt.Printf("Time: %v Offset: %v\n", res["datetime"], res["utc_offset"])
}

Current time in major cities:

Current time in major countries:

Current time now in time zones:

UTC | GMT | CET | PST | MST | CST | EST | EET | IST | China (CST) | JST | AEST | SAST | MSK | NZST |