{"id":58657,"date":"2025-01-07T14:49:00","date_gmt":"2025-01-07T06:49:00","guid":{"rendered":"https:\/\/0592ban.cn\/?p=58657"},"modified":"2025-01-07T14:49:00","modified_gmt":"2025-01-07T06:49:00","slug":"2021-3-%e5%b9%b4-%e6%97%a5%e8%87%b32023-1-%e6%9c%88-%e6%97%a5%e4%b9%8b%e9%97%b4%e7%9a%84%e5%a4%a9%e6%95%b0-%e6%9c%88-9-%e5%b9%b4-7-20213%e5%b9%b4%e7%ba%a7%e4%b8%8a%e5%86%8c%e6%9c%9f%e6%9c%ab%e8%af%95","status":"publish","type":"post","link":"https:\/\/0592ban.cn\/index.php\/2025\/01\/07\/2021-3-%e5%b9%b4-%e6%97%a5%e8%87%b32023-1-%e6%9c%88-%e6%97%a5%e4%b9%8b%e9%97%b4%e7%9a%84%e5%a4%a9%e6%95%b0-%e6%9c%88-9-%e5%b9%b4-7-20213%e5%b9%b4%e7%ba%a7%e4%b8%8a%e5%86%8c%e6%9c%9f%e6%9c%ab%e8%af%95\/","title":{"rendered":"2021 3 \u5e74 \u65e5\u81f32023 1 \u6708 \u65e5\u4e4b\u95f4\u7684\u5929\u6570 \u6708 9 \u5e74 7 (20213\u5e74\u7ea7\u4e0a\u518c\u671f\u672b\u8bd5\u5377)"},"content":{"rendered":"<p><img decoding=\"async\" alt=\"3\" loading=\"lazy\" src=\"https:\/\/0592ban.cn\/wp-content\/uploads\/2025\/01\/42ed3380-c31f-4fd1-bdba-2a83b45a1399.gif\"\/><\/p>\n<form action=\"\/calculate\" method=\"post\">\n <label for=\"start_date\"><br \/>\n  \u8d77\u59cb\u65e5\u671f:<br \/>\n <\/label><br \/>\n <input id=\"start_date\" name=\"start_date\" required=\"\" type=\"date\"\/><br \/>\n <label for=\"end_date\"><br \/>\n  \u7ed3\u675f\u65e5\u671f:<br \/>\n <\/label><br \/>\n <input id=\"end_date\" name=\"end_date\" required=\"\" type=\"date\"\/><br \/>\n <input type=\"submit\" value=\"\u8ba1\u7b97\"\/><br \/>\n<\/form>\n<p><!--?php\n    if (isset($_POST['start_date']) && isset($_POST['end_date'])) {\n        $start_date = $_POST['start_date'];\n        $end_date = $_POST['end_date'];\n        $start_date_timestamp = strtotime($start_date);\n        $end_date_timestamp = strtotime($end_date);\n        $days = floor(($end_date_timestamp - $start_date_timestamp) \/ (60  60  24));\n        $years = floor($days \/ 365);\n        $months = floor(($days % 365) \/ 30);\n        $days = $days % 30;\n\n        echo \"\u4ece $start_date \u5230 $end_date \u5171\u6709 $years \u5e74 $months \u6708 $days \u5929\u3002\";\n    }\n    ?--><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8d77\u59cb\u65e5\u671f\uff0c\u7ed3\u675f\u65e5\u671f\uff0c&#8230;\u3002<\/p>\n","protected":false},"author":1,"featured_media":58656,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[572,4119,496,455,12662,232,25342,25343,454],"class_list":["post-58657","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-12shengxiao","tag-572","tag-4119","tag-496","tag-455","tag-12662","tag-232","tag-25342","tag-25343","tag-454"],"_links":{"self":[{"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/posts\/58657","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/comments?post=58657"}],"version-history":[{"count":1,"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/posts\/58657\/revisions"}],"predecessor-version":[{"id":58658,"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/posts\/58657\/revisions\/58658"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/media\/58656"}],"wp:attachment":[{"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/media?parent=58657"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/categories?post=58657"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/tags?post=58657"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}