Documentation
Getting Started

Rust World Time API Implementation

Type-safe implementation using the reqwest crate.

Rust Integration Snippet
use reqwest; // reqwest = { version = "0.11", features = ["json"] }

#[tokio::main]
async fn main() -> Result<(), Box<dyn std.error::Error>> {
    let resp = reqwest::get("https://currenttime.now/public/api/ip")
        .await?
        .json::<serde_json::Value>()
        .await?;
    println!("Time: {}", resp["datetime"]);
    Ok(())
}

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 |