{"id":12156,"date":"2023-07-23T18:56:22","date_gmt":"2023-07-23T11:56:22","guid":{"rendered":"https:\/\/mohumohucafe.com\/?page_id=12156"},"modified":"2023-07-23T18:59:27","modified_gmt":"2023-07-23T11:59:27","slug":"%e0%b8%84%e0%b8%b3%e0%b8%99%e0%b8%a7%e0%b8%93%e0%b8%84%e0%b8%a7%e0%b8%b2%e0%b8%a1%e0%b9%81%e0%b8%95%e0%b8%81%e0%b8%95%e0%b9%88%e0%b8%b2%e0%b8%87%e0%b8%82%e0%b8%ad%e0%b8%87%e0%b9%80%e0%b8%a7%e0%b8%a5","status":"publish","type":"page","link":"https:\/\/mohumohucafe.com\/ja\/%e0%b8%84%e0%b8%b3%e0%b8%99%e0%b8%a7%e0%b8%93%e0%b8%84%e0%b8%a7%e0%b8%b2%e0%b8%a1%e0%b9%81%e0%b8%95%e0%b8%81%e0%b8%95%e0%b9%88%e0%b8%b2%e0%b8%87%e0%b8%82%e0%b8%ad%e0%b8%87%e0%b9%80%e0%b8%a7%e0%b8%a5\/","title":{"rendered":"\u0e04\u0e33\u0e19\u0e27\u0e13\u0e04\u0e27\u0e32\u0e21\u0e41\u0e15\u0e01\u0e15\u0e48\u0e32\u0e07\u0e02\u0e2d\u0e07\u0e40\u0e27\u0e25\u0e32 \u6642\u9593\u306e\u5dee\u3092\u8a08\u7b97\u3059\u308b"},"content":{"rendered":"<p>&#8220;`html<br \/>\n<!DOCTYPE html><br \/>\n<html><br \/>\n<head><br \/>\n\t<title>\u6642\u9593\u306e\u5dee\u3092\u8a08\u7b97\u3059\u308b<\/title><br \/>\n<\/head><br \/>\n<body><\/p>\n<div>\n<h1>\u6642\u9593\u306e\u5dee\u3092\u8a08\u7b97\u3059\u308b<\/h1>\n<p>\u4ee5\u4e0b\u306e\u30d5\u30a9\u30fc\u30e0\u306b\u6642\u523b\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\t\t<label for=\"time1\">\u6642\u523b1\uff1a<\/label><br \/>\n\t\t<input type=\"time\" id=\"time1\" name=\"time1\" required><\/p>\n<p>\t\t<label for=\"time2\">\u6642\u523b2\uff1a<\/label><br \/>\n\t\t<input type=\"time\" id=\"time2\" name=\"time2\" required><\/p>\n<p>\t\t<button onclick=\"calculateTime()\">\u8a08\u7b97\u3059\u308b<\/button><\/p>\n<div id=\"result\"><\/div>\n<\/p><\/div>\n<p>\t<script>\n\t\tfunction calculateTime() {\n\t\t\tconst time1 = document.getElementById(\"time1\").valueAsNumber;\n\t\t\tconst time2 = document.getElementById(\"time2\").valueAsNumber;<\/p>\n<p>\t\t\tif (!time1 || !time2) {\n\t\t\t\treturn;\n            }<\/p>\n<p>            const msDiff = time2 - time1;\n            if(msDiff < 0) {\n                return;\n            }\n\n            const secDiff = msDiff \/ 1000;\n            const minDiff = secDiff \/ 60;\n            const hourDiff = minDiff \/ 60;\n\n            const hours = Math.floor(hourDiff);\n            const minutes = Math.floor(minDiff - (hours * 60));\n            const seconds = Math.floor(secDiff - (hours * 60 * 60) - (minutes * 60));\n\n\t\t\tdocument.getElementById(\"result\").innerText = `\u5dee\uff1a${hours}\u6642\u9593${minutes}\u5206${seconds}\u79d2`;\n\t\t}\n\t<\/script><br \/>\n<\/body><br \/>\n<\/html><br \/>\n```<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;`html \u6642\u9593\u306e\u5dee\u3092\u8a08\u7b97\u3059\u308b \u6642\u9593\u306e\u5dee\u3092\u8a08\u7b97\u3059\u308b \u4ee5\u4e0b\u306e\u30d5\u30a9\u30fc\u30e0\u306b\u6642\u523b\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002 \u6642\u523b1\uff1a \u6642\u523b2\uff1a \u8a08\u7b97\u3059\u308b &#8220;`<\/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-12156","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/mohumohucafe.com\/ja\/wp-json\/wp\/v2\/pages\/12156","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mohumohucafe.com\/ja\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/mohumohucafe.com\/ja\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/mohumohucafe.com\/ja\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mohumohucafe.com\/ja\/wp-json\/wp\/v2\/comments?post=12156"}],"version-history":[{"count":6,"href":"https:\/\/mohumohucafe.com\/ja\/wp-json\/wp\/v2\/pages\/12156\/revisions"}],"predecessor-version":[{"id":12167,"href":"https:\/\/mohumohucafe.com\/ja\/wp-json\/wp\/v2\/pages\/12156\/revisions\/12167"}],"wp:attachment":[{"href":"https:\/\/mohumohucafe.com\/ja\/wp-json\/wp\/v2\/media?parent=12156"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}