Documentation
Getting Started
Endpoints
Language Guides
PHP World Time API Implementation
Simple integration using file_get_contents.
PHP Integration Snippet
<?php
$json = file_get_contents('https://currenttime.now/public/api/ip');
$data = json_decode($json, true);
echo "Local Time: " . $data['datetime'];
echo "Offset: " . $data['utc_offset'];
?>