{"id":1383,"date":"2024-08-30T15:29:14","date_gmt":"2024-08-30T15:29:14","guid":{"rendered":"https:\/\/www.hiro-clinic.or.jp\/nippt\/?p=1383"},"modified":"2024-09-25T11:53:47","modified_gmt":"2024-09-25T02:53:47","slug":"calculate-weeks-of-pregnancy","status":"publish","type":"post","link":"https:\/\/www.hiro-clinic.or.jp\/nippt\/calculate-weeks-of-pregnancy\/","title":{"rendered":"\u598a\u5a20\u9031\u6570\u306e\u8a08\u7b97\u65b9\u6cd5\uff08\u91cd\u8981\uff09"},"content":{"rendered":"\n<p>\u598a\u5a20\u9031\u6570\u306e\u8a08\u7b97\u306f\u3001<strong>\u6700\u7d42\u6708\u7d4c\u306e\u958b\u59cb\u65e5<\/strong>\u3092\u57fa\u6e96\u306b\u884c\u3044\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u624b\u9806\u3067\u8a73\u3057\u304f\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><span class=\"pre--font-size span-stk-fs-m\"><strong>\u6700\u7d42\u6708\u7d4c\u306e\u958b\u59cb\u65e5\u3092\u78ba\u8a8d<\/strong>:<\/span> \u3053\u308c\u306f\u3001<span class=\"pre--maker span-stk-maker-yellow\">\u598a\u5a20\u9031\u6570\u306e\u8d77\u70b9\u3068\u306a\u308b\u65e5<\/span>\u3067\u3059\u3002<\/li>\n\n\n\n<li><span class=\"pre--font-size span-stk-fs-m\"><strong>\u51fa\u7523\u4e88\u5b9a\u65e5\u306e\u8a08\u7b97<\/strong>:<\/span> <span class=\"pre--maker span-stk-maker-yellow\">\u6700\u7d42\u6708\u7d4c\u306e\u958b\u59cb\u65e5\u304b\u3089280\u65e5\uff0840\u9031\uff09\u5f8c\u3092\u51fa\u7523\u4e88\u5b9a\u65e5<\/span>\u3068\u3057\u307e\u3059\u3002\u3053\u308c\u306f\u3001\u6a19\u6e96\u7684\u306a\u598a\u5a20\u671f\u9593\u3068\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/li>\n\n\n\n<li><span class=\"pre--font-size span-stk-fs-m\"><strong>\u73fe\u5728\u306e\u598a\u5a20\u9031\u6570\u306e\u8a08\u7b97<\/strong>: <\/span><strong>\u4eca\u65e5\u306e\u65e5\u4ed8\u3068\u6700\u7d42\u6708\u7d4c\u958b\u59cb\u65e5\u3068\u306e\u5dee<\/strong>\u3092\u9031\u6570\u306b\u63db\u7b97\u3057\u307e\u3059\u3002<\/li>\n\n\n\n<li><span class=\"pre--font-size span-stk-fs-m\"><strong>\u8d85\u97f3\u6ce2\u691c\u67fb\u306b\u3088\u308b\u4fee\u6b63<\/strong>: <\/span>\u598a\u5a20\u521d\u671f\u306e\u8d85\u97f3\u6ce2\u691c\u67fb\u306b\u3088\u3063\u3066\u3001\u5b9f\u969b\u306e\u80ce\u5150\u306e\u6210\u9577\u306b\u57fa\u3065\u3044\u3066\u598a\u5a20\u9031\u6570\u304c\u4fee\u6b63\u3055\u308c\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u306f\u3001<strong>\u6700\u7d42\u6708\u7d4c\u958b\u59cb\u65e5\u304c\u6b63\u78ba\u3067\u306a\u3044\u5834\u5408\u3084\u3001\u6392\u5375\u65e5\u304c\u901a\u5e38\u3068\u7570\u306a\u308b\u5834\u5408<\/strong>\u306b\u884c\u308f\u308c\u307e\u3059\u3002<\/li>\n<\/ol>\n\n\n<div class=\"custom-html\"><div class=\"c-class\">\n<p><span class=\"c-big\">\u51fa\u7523\u524d\u306b\u7236\u5b50\u95a2\u4fc2\u3092\u78ba\u5b9f\u306b\u78ba\u8a8d<\/span><br \/>\n<span class=\"c-liner\">\u4e0d\u5b89\u3092\u65e9\u3081\u306b\u89e3\u6d88<\/span><\/p>\n<div class=\"short-button\"><a href=\"https:\/\/mypage-nippt.hiro-clinic.or.jp\/register\">\u3054\u4e88\u7d04\u306f\u3053\u3061\u3089<\/a><\/div>\n<\/div>\n<style>\n.custom-html .c-class{\n text-align: center;\n background-color: var(--stk-editor-color3);\n padding: 20px 0;\n border-top: dashed 2px #ffbb00;\n border-bottom: dashed 2px #ffbb00;\n}\n<\/style>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">\u4f8b\uff1a<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u6700\u7d42\u6708\u7d4c\u958b\u59cb\u65e5\u304c2023\u5e741\u67081\u65e5\u3067\u3042\u308c\u3070\u3001\u51fa\u7523\u4e88\u5b9a\u65e5\u306f2023\u5e7410\u67088\u65e5\uff08280\u65e5\u5f8c\uff09\u3068\u306a\u308a\u30012023\u5e748\u67081\u65e5\u6642\u70b9\u3067\u306f31\u9031\u76ee\u306b\u306a\u308a\u307e\u3059\u3002<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">\u6ce8\u610f\u70b9\uff1a<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u598a\u5a20\u9031\u6570\u306f\u3001<strong><span class=\"pre--maker span-stk-maker-yellow\">\u6bcd\u4f53\u3084\u80ce\u5150\u306e\u5065\u5eb7\u72b6\u614b\u3092\u628a\u63e1\u3059\u308b\u305f\u3081\u306b\u975e\u5e38\u306b\u91cd\u8981<\/span><\/strong>\u3067\u3059\u3002\u305d\u306e\u305f\u3081\u3001<strong>\u5b9a\u671f\u7684\u306b\u533b\u5e2b\u306e\u8a3a\u5bdf\u3092\u53d7\u3051\u308b<\/strong>\u3053\u3068\u304c\u63a8\u5968\u3055\u308c\u307e\u3059\u3002<\/li>\n<\/ul>\n\n\n\n<p>\u3053\u306e\u65b9\u6cd5\u3092\u4f7f\u3048\u3070\u3001\u81ea\u5206\u306e\u598a\u5a20\u9031\u6570\u3084\u51fa\u7523\u4e88\u5b9a\u65e5\u3092\u7c21\u5358\u306b\u8a08\u7b97\u3067\u304d\u307e\u3059\u304c\u3001\u6b63\u78ba\u306a\u9031\u6570\u306f\u533b\u5e2b\u306e\u8a3a\u65ad\u306b\u57fa\u3065\u3044\u3066\u78ba\u8a8d\u3059\u308b\u306e\u304c\u6700\u5584\u3067\u3059\u3002<\/p>\n\n\n\n<div id=\"pregnancy_calculator\">\n\t<div class=\"preg_calc_info\">\n\t\t<h3>\u598a\u5a20\u9031\u6570\u8a08\u7b97\u6a5f<\/h3>\n\t\t<p>\u6700\u7d42\u6708\u7d4c\u65e5\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\uff1a<\/p>\n\t\t<div class=\"preg_calc\">\n\t\t\t<input type=\"date\" id=\"lastMonthlyFlowDate\">\n\t\t\t<button onclick=\"displayPregnancyWeeks()\">\u8a08\u7b97\u3059\u308b<\/button>\n\t\t<\/div>\n\t\t<p>\u73fe\u5728\u306e\u598a\u5a20\u9031\u6570\u306f: <span id=\"p_result\"><\/span><\/p>\n\t<\/div>\n<\/div>\n  \n  <script>\n\tfunction calculatePregnancyWeeks(lastMonthlyFlowDate) {\n\t  \/\/ Convert the last monthly flow date to a Date object\n\t  const startDate = new Date(lastMonthlyFlowDate);\n  \n\t  \/\/ Get today's date\n\t  const today = new Date();\n  \n\t  \/\/ Calculate the difference in days\n\t  const timeDiff = today - startDate;\n  \n\t  \/\/ Convert the days to weeks\n\t  const weeks = Math.floor(timeDiff \/ (1000 * 60 * 60 * 24 * 7));\n  \n\t  return weeks;\n\t}\n  \n\tfunction displayPregnancyWeeks() {\n\t  const lastMonthlyFlowDate = document.getElementById('lastMonthlyFlowDate').value;\n\t  const pregnancyWeeks = calculatePregnancyWeeks(lastMonthlyFlowDate);\n\t  document.getElementById('p_result').textContent = `${pregnancyWeeks} \u9031`;\n\t}\n  <\/script>\n\n\n<div class=\"custom-html\"><div class=\"c-class\">\n<p><span class=\"c-big\">\u51fa\u7523\u524d\u306b\u7236\u5b50\u95a2\u4fc2\u3092\u78ba\u5b9f\u306b\u78ba\u8a8d<\/span><br \/>\n<span class=\"c-liner\">\u4e0d\u5b89\u3092\u65e9\u3081\u306b\u89e3\u6d88<\/span><\/p>\n<div class=\"short-button\"><a href=\"https:\/\/mypage-nippt.hiro-clinic.or.jp\/register\">\u3054\u4e88\u7d04\u306f\u3053\u3061\u3089<\/a><\/div>\n<\/div>\n<style>\n.custom-html .c-class{\n text-align: center;\n background-color: var(--stk-editor-color3);\n padding: 20px 0;\n border-top: dashed 2px #ffbb00;\n border-bottom: dashed 2px #ffbb00;\n}\n<\/style>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u598a\u5a20\u9031\u6570\u306e\u8a08\u7b97\u306f\u3001\u6700\u7d42\u6708\u7d4c\u306e\u958b\u59cb\u65e5\u3092\u57fa\u6e96\u306b\u884c\u3044\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u624b\u9806\u3067\u8a73\u3057\u304f\u8aac\u660e\u3057\u307e\u3059\u3002 \u4f8b\uff1a \u6ce8\u610f\u70b9\uff1a \u3053\u306e\u65b9\u6cd5\u3092\u4f7f\u3048\u3070\u3001\u81ea\u5206\u306e\u598a\u5a20\u9031\u6570\u3084\u51fa\u7523\u4e88\u5b9a\u65e5\u3092\u7c21\u5358\u306b\u8a08\u7b97\u3067\u304d\u307e\u3059\u304c\u3001\u6b63&#8230;<\/p>\n","protected":false},"author":5,"featured_media":2049,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[24],"tags":[29,60,58,50,52],"class_list":{"0":"post-1383","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-about-pregnancy","8":"tag-beginner","9":"tag-childbirth","10":"tag-regnancy","11":"tag-mother","12":"tag-parent_child","13":"article"},"acf":[],"_links":{"self":[{"href":"https:\/\/www.hiro-clinic.or.jp\/nippt\/wp-json\/wp\/v2\/posts\/1383","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hiro-clinic.or.jp\/nippt\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hiro-clinic.or.jp\/nippt\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hiro-clinic.or.jp\/nippt\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hiro-clinic.or.jp\/nippt\/wp-json\/wp\/v2\/comments?post=1383"}],"version-history":[{"count":9,"href":"https:\/\/www.hiro-clinic.or.jp\/nippt\/wp-json\/wp\/v2\/posts\/1383\/revisions"}],"predecessor-version":[{"id":4237,"href":"https:\/\/www.hiro-clinic.or.jp\/nippt\/wp-json\/wp\/v2\/posts\/1383\/revisions\/4237"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hiro-clinic.or.jp\/nippt\/wp-json\/wp\/v2\/media\/2049"}],"wp:attachment":[{"href":"https:\/\/www.hiro-clinic.or.jp\/nippt\/wp-json\/wp\/v2\/media?parent=1383"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hiro-clinic.or.jp\/nippt\/wp-json\/wp\/v2\/categories?post=1383"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hiro-clinic.or.jp\/nippt\/wp-json\/wp\/v2\/tags?post=1383"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}