{"id":33,"date":"2026-03-23T22:24:07","date_gmt":"2026-03-23T13:24:07","guid":{"rendered":"https:\/\/www.crntime.com\/?page_id=33"},"modified":"2026-03-23T22:43:24","modified_gmt":"2026-03-23T13:43:24","slug":"current-time","status":"publish","type":"page","link":"https:\/\/www.crntime.com\/","title":{"rendered":"current time with seconds"},"content":{"rendered":"\n<p class=\"has-text-align-center\">current<br>time<br>with<br>seconds<br>auto<br>refresh<br><\/p>\n\n\n\n<div id=\"global-clock-card\" style=\"\n    background: linear-gradient(135deg, #2c3e50, #4ca1af);\n    color: white;\n    padding: 30px;\n    border-radius: 20px;\n    text-align: center;\n    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;\n    box-shadow: 0 10px 20px rgba(0,0,0,0.2);\n    max-width: 400px;\n    margin: 20px auto;\n\">\n    <div id=\"display-timezone\" style=\"text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem; opacity: 0.8; margin-bottom: 10px;\">\n        Detecting Location&#8230;\n    <\/div>\n    \n    <div id=\"display-time\" style=\"font-size: 3.5rem; font-weight: 700; margin-bottom: 5px; font-variant-numeric: tabular-nums;\">\n        00:00:00\n    <\/div>\n    \n    <div id=\"display-date\" style=\"font-size: 1.1rem; opacity: 0.9; font-weight: 300;\">\n        Monday, January 1, 2026\n    <\/div>\n<\/div>\n\n<script>\n    function updateEnglishClock() {\n        const now = new Date();\n\n        \/\/ 1. Get Timezone Name (e.g., \"Asia\/Seoul\")\n        const timeZone = Intl.DateTimeFormat().resolvedOptions().timeZone;\n        document.getElementById('display-timezone').innerText = \"Current Timezone: \" + timeZone.replace('_', ' ');\n\n        \/\/ 2. Format Time (24-hour English format)\n        const timeOptions = { \n            hour: '2-digit', \n            minute: '2-digit', \n            second: '2-digit', \n            hour12: false \n        };\n        document.getElementById('display-time').innerText = now.toLocaleTimeString('en-US', timeOptions);\n\n        \/\/ 3. Format Date (Long English format)\n        const dateOptions = { \n            weekday: 'long', \n            year: 'numeric', \n            month: 'long', \n            day: 'numeric' \n        };\n        document.getElementById('display-date').innerText = now.toLocaleDateString('en-US', dateOptions);\n    }\n\n    \/\/ Refresh every 1000ms (1 second)\n    setInterval(updateEnglishClock, 1000);\n    \n    \/\/ Run immediately on load\n    updateEnglishClock();\n<\/script>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>currenttimewithsecondsautorefresh Detecting Location&#8230; 00:00:00 Monday, January 1, 2026<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-33","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.crntime.com\/index.php?rest_route=\/wp\/v2\/pages\/33","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.crntime.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.crntime.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.crntime.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.crntime.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=33"}],"version-history":[{"count":7,"href":"https:\/\/www.crntime.com\/index.php?rest_route=\/wp\/v2\/pages\/33\/revisions"}],"predecessor-version":[{"id":40,"href":"https:\/\/www.crntime.com\/index.php?rest_route=\/wp\/v2\/pages\/33\/revisions\/40"}],"wp:attachment":[{"href":"https:\/\/www.crntime.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=33"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}