Documentation
Getting Started

Swift World Time API Implementation

Native implementation for iOS and macOS.

Swift Integration Snippet
import Foundation

let url = URL(string: "https://currenttime.now/public/api/ip")!
let task = URLSession.shared.dataTask(with: url) { data, response, error in
    if let data = data, let json = try? JSONSerialization.jsonObject(with: data) {
        print(json)
    }
}
task.resume()

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 |