{"id":749,"date":"2023-05-02T22:36:00","date_gmt":"2023-05-02T14:36:00","guid":{"rendered":"https:\/\/annion.kingbig.idv.tw\/tool-app\/?p=749"},"modified":"2023-04-19T16:45:11","modified_gmt":"2023-04-19T08:45:11","slug":"749","status":"publish","type":"post","link":"https:\/\/annion.kingbig.idv.tw\/tool-app\/?p=749","title":{"rendered":"\u65e5\u671f\u76f8\u5dee\u8a08\u7b97\u6a5f"},"content":{"rendered":"<p>\u65e5\u671f\u5929\u6578\u76f8\u5dee\u8a08\u7b97\u6a5f\u662f\u4e00\u7a2e\u53ef\u4ee5\u8a08\u7b97\u5169\u500b\u65e5\u671f\u4e4b\u9593\u76f8\u5dee\u5929\u6578\u7684\u5de5\u5177\u3002\u4f8b\u5982\uff0c\u5982\u679c\u60a8\u60f3\u77e5\u9053\u5f9e\u4eca\u5929\u7b97\u8d77\uff0c\u5169\u500b\u6708\u5f8c\u7684\u65e5\u671f\u662f\u54ea\u4e00\u5929\uff0c\u6216\u8005\u8a08\u7b97\u5169\u500b\u65e5\u671f\u4e4b\u9593\u76f8\u5dee\u591a\u5c11\u5929\uff0c\u90a3\u9ebc\u9019\u500b\u8a08\u7b97\u6a5f\u53ef\u4ee5\u5e6b\u52a9\u60a8\u5feb\u901f\u89e3\u6c7a\u9019\u4e9b\u554f\u984c\u3002<br><!--more--><\/p>\n\n\n<div class=\"col-md-9\">\n<h2 class=\"alert alert-info\">\u63a8\u7b97\u5e7e\u5929\u5f8c\u7684\u65e5\u671f\uff1a<\/h2>\n<br>\n<table class=\"mathmod_form\" style=\"border: 0px solid #ddd; padding: 4px; font-size:16px;\">\n<tbody>\n<tr><td>\n<input type=\"text\" size=\"8\" id=\"SY\" value=\"2023\">\u5e74\n<input type=\"text\" size=\"4\" id=\"SM\" value=\"2\">\u6708\n<input type=\"text\" size=\"4\" id=\"SD\" value=\"17\">\u65e5\n\uff08\u7f3a\u7701\u4e3a\u4eca\u5929\uff09<\/td><\/tr>\n<tr><td><select id=\"pom\">\n<option value=\"1\">\u5f80\u540e<\/option> \n<option value=\"-1\">\u5f80\u524d<\/option>   \n<\/select>\u76f8\u5dee\n<input type=\"text\" size=\"8\" id=\"decday\" value=\"100\">\n<select id=\"dtype\">\n    <option value=\"1\">\u5929<\/option> \n    <option value=\"2\">\u661f\u671f<\/option>  \n    <option value=\"3\">\u6708<\/option>      \n<\/select>\n\uff08\u8f38\u5165\u8ca0\u6578\u5247\u5f80\u524d\u8a08\u7b97\uff09<\/td><\/tr>\n<tr>\n  <td><input type=\"button\" value=\"\u8a08\u7b97\" onclick=\"cala()\" class=\"blue_button\"><\/td>\n<\/tr>\n<tr><td>\n<span id=\"result1\"><\/span>&nbsp;<span id=\"nongli\"><\/span><\/td><\/tr>\n<\/tbody>\n<\/table>\n<h2 class=\"alert alert-info\">\u8a08\u7b97\u65e5\u671f\u5dee\uff1a<\/h2>\n<table class=\"mathmod_form\" style=\"border: 1px solid #ddd; padding: 4px; font-size:16px;\">\n<tbody>\n<tr><td>\n<input type=\"text\" size=\"8\" id=\"SY2\" value=\"2023\">\u5e74\n<input type=\"text\" size=\"4\" id=\"SM2\" value=\"2\">\u6708\n<input type=\"text\" size=\"4\" id=\"SD2\" value=\"17\">\u65e5\n<\/td><\/tr>\n<tr><td>\n<input type=\"text\" size=\"8\" id=\"SY3\" value=\"2017\">\u5e74\n<input type=\"text\" size=\"4\" id=\"SM3\" value=\"1\">\u6708\n<input type=\"text\" size=\"4\" id=\"SD3\" value=\"1\">\u65e5\n<\/td><\/tr>\n<tr><td>\u76f8\u5dee\uff1a\n<span id=\"result2\"><\/span>\u5929\n<\/td><\/tr>\n<tr><td>\n<input type=\"button\" value=\"\u8a08\u7b97\" onclick=\"calb()\" class=\"blue_button\">\n<\/td><\/tr><\/tbody><\/table>\n \n    \n  <\/div>\n<script src=\"https:\/\/annion.kingbig.idv.tw\/tool-app\/assets\/js\/date\/calendar.js\" defer><\/script>\n<script>\nvar hzWeek= new Array(\"\u65e5\",\"\u4e00\",\"\u4e8c\",\"\u4e09\",\"\u56db\",\"\u4e94\",\"\u516d\",\"\u65e5\");function cweekday(wday){return hzWeek[wday];}\nAnimals=new Array(\"\u9f20\",\"\u725b\",\"\u864e\",\"\u5154\",\"\u9f99\",\"\u86c7\",\"\u9a6c\",\"\u7f8a\",\"\u7334\",\"\u9e21\",\"\u72d7\",\"\u732a\");\nfunction cala()\n{\n\ty=parseInt(document.getElementById(\"SY\").value);\n\tm=parseInt(document.getElementById(\"SM\").value-1);\n\td=parseInt(document.getElementById(\"SD\").value);\n\tddd=parseInt(document.getElementById(\"decday\").value);\n\tdpos=parseInt(document.getElementById(\"pom\").value);\n\tdtype=parseInt(document.getElementById(\"dtype\").value);\n\tday1 = ddd*dpos;\n\tif(dtype==1){\n\t\td=d+day1;\n\t}\n\tif(dtype==2){\n\t\td=d+day1*7;\n\t}\n\telse if(dtype==3){\n\t\tm=m+day1;\n\t}\n\ttheday=new Date(y,m,d);\n\tly = parseInt(theday.getFullYear());\n\tlm = parseInt(1+theday.getMonth());\n\tld = parseInt(theday.getDate());\n\tvar gets=calendar.solar2lunar(ly,lm,ld);\n\tdocument.getElementById(\"result1\").innerHTML=theday.getFullYear()+\"\u5e74\"+(1+theday.getMonth())+\"\u6708\"+theday.getDate()+\"\u65e5\"+\"\u661f\u671f\"+cweekday(theday.getDay())+\"<br\/>\";\n\tdocument.getElementById(\"nongli\").innerHTML=gets.lYear+\"\u5e74(\"+gets.Animal+\"\u5e74)\"+gets.IMonthCn+gets.IDayCn+\" \"+gets.ncWeek+\" \u3010\"+gets.gzYear+\"\u5e74\"+\" \"+gets.gzMonth+\"\u6708\"+\" \"+gets.gzDay+\"\u3011\";\n}\nfunction calb()\n{\ny2=document.getElementById(\"SY2\").value;\nm2=document.getElementById(\"SM2\").value;\nd2=document.getElementById(\"SD2\").value;\ny3=document.getElementById(\"SY3\").value;\nm3=document.getElementById(\"SM3\").value;\nd3=document.getElementById(\"SD3\").value;\nday2=new Date(y2,m2-1,d2);\nday3=new Date(y3,m3-1,d3);\ndocument.getElementById(\"result2\").innerHTML=(day3-day2)\/86400000;\n}\n<\/script>\n<\/p>\n<p><style>\n\t.table {\n\twidth: 100%;\n\tmax-width: 100%;\n\tmargin-bottom: 20px\n}\n.table th{color:#ffffff;background-color:#555555;border:1px solid #555555;}\n.table th a:link,.table th a:visited{color:#ffffff;}\n.table th a:hover,table th a:active{color:#EE872A;}\n.alert-info{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.alert-info hr{border-top-color:#a6e1ec}.alert-info .alert-link{color:#245269}\n.alert{padding:15px;margin:20px;border:1px solid transparent;border-radius:4px}.alert h4{margin-top:0;color:inherit}.alert .alert-link{font-weight:700}.alert>p,.alert>ul{margin-bottom:0}.alert>p+p{margin-top:5px}\n.mathmod_form input[type=\"text\"], .mathmod_form input[type=\"number\"]\n{\n\tbackground: #ffffff; \/* Old browsers *\/\n\tborder: 1px solid #d0ad9a;\n\tfont-size:16px;\n\tmargin:5px 2px;;\n\tpadding:8px;\n\ttext-align:left;\n}\n.mathmod_form input[type=\"text\"]:disabled, .mathmod_form input[readonly]\n{\n\tbackground: #FFFFEE;\n\tborder: #EEBBAA 1px solid;\n}\n.mathmod_form hr{\nheight:1px; border:none; border-top:1px dashed #aaa;\n}\n.mathmod_form select\n{\n\tborder: 1px solid #d0ad9a;\n    color:#717070;\n    font-size:16px;\n    margin:5px 2px;\n    padding:4px;\n}\n.mathmod_form input[type=\"text\"]:focus,select:focus\n{\n    background:#fff;\n    -webkit-box-shadow: inset 7px 7px 5px -6px rgba(0,0,0,0.3);\n    -moz-box-shadow: inset 7px 7px 5px -6px rgba(0,0,0,0.3);\n    box-shadow: inset 7px 7px 5px -6px rgba(0,0,0,0.3);\n    border:#f07d7d 1px solid;\n}\n\/* placeholder color *\/\n.mathmod_form input[type=\"text\"],select::-webkit-input-placeholder { color:#000; text-shadow:#fff 1px 1px 0px; }\n.mathmod_form input[type=\"text\"],select::-moz-placeholder { color:#000; text-shadow:#fff 1px 1px 0px; } \/* firefox 19+ *\/\n.mathmod_form input[type=\"text\"],select:-ms-input-placeholder { color:#000; text-shadow:#fff 1px 1px 0px; } \/* ie *\/\n.mathmod_form input[type=\"text\"],select:-moz-placeholder { color:#000; text-shadow:#fff 1px 1px 0px; }\n.radio_check\n{\n    padding:10px 10px 10px 5px;\n    font-size:16px;\n    margin:5px 5px 5px 0;\n    float:left;\n}\n.mathmod_form input[type=\"button\"]:hover, .mathmod_form input[type=\"submit\"]:hover, .mathmod_form button:hover\n{\nborder-color: #7C4328;\nbackground-color: #A4672E;\ncolor: #fff;\n}\n.mathmod_form h2 {\n\tfont-size: 22px;margin:20px 0px;\n}\n.blue_button {\n    border: solid 1px #328cca;\n    height: 40px;\n    font-size: 15px;\n    \/*border-radius*\/\n    -moz-border-radius: 5px;\n    -webkit-border-radius: 5px;\n    border-radius: 5px;\n    color: #fff;\n    background-image: -moz-linear-gradient(top, #3798db, #2c7cd2);\n    background-image: -o-linear-gradient(top, #3798db, #2c7cd2);\n    background-image: -ms-linear-gradient(top, #3798db, #2c7cd2);\n    background-image: -webkit-linear-gradient(top, #3798db, #2c7cd2);\n    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #3798db), color-stop(1, #2c7cd2));\n    filter:\"progid:DXImageTransform.Microsoft.gradient(startColorStr=#3798db, EndColorStr=#2c7cd2)\";\n    background-image: linear-gradient(top, #3798db, #2c7cd2);\n    width: 215px;\n    background-color: #2b96f1;\n    \/*box-shadow*\/\n    -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);\n    -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);\n    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);\n    cursor: pointer;\n}\n.blue_button:hover {\n    background-image: -moz-linear-gradient(top, #3fadf9, #3493f9);\n    background-image: -o-linear-gradient(top, #3fadf9, #3493f9);\n    background-image: -webkit-linear-gradient(top, #3fadf9, #3493f9);\n    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #3fadf9), color-stop(1, #3493f9));\n    filter:\"progid:DXImageTransform.Microsoft.gradient(startColorStr=#3fadf9, EndColorStr=#3493f9)\";\n    background-image: linear-gradient(top, #3fadf9, #3493f9)\n}\n.white_button {\n    border: 1px solid #bbb;\n    height: 40px;\n    font-size: 15px;\n    \/*border-radius*\/\n    -moz-border-radius: 5px;\n    -webkit-border-radius: 5px;\n    border-radius: 5px;\n    color: #000;\n    background-image: -moz-linear-gradient(top, #fff, #f1f1f1);\n    background-image: -o-linear-gradient(top, #fff, #f1f1f1);\n    background-image: -webkit-linear-gradient(top, #fff, #f1f1f1);\n    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff), color-stop(1, #f1f1f1));\n    filter:\"progid:DXImageTransform.Microsoft.gradient(startColorStr=#fff, EndColorStr=#f1f1f1)\";\n    background-image: linear-gradient(top, #fff, #f1f1f1);\n    width: 215px;\n    \/*box-shadow*\/\n    -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);\n    -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);\n    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);\n    cursor: pointer\n}\n.mathmod_form textarea\n{\n    margin:10px 0%;\n    padding:2%;\n    width:96%;\n    height:150px;\n    background:#FFFFEE;\n    border:#abadb3 1px solid;\n\t  color:#333;\n\t  font-size:16px;\n  }\n<\/style><\/p>\n\n\n\n<p>\u4f7f\u7528\u65e5\u671f\u5929\u6578\u76f8\u5dee\u8a08\u7b97\u6a5f\u975e\u5e38\u7c21\u55ae\u3002\u60a8\u53ea\u9700\u8981\u8f38\u5165\u5169\u500b\u65e5\u671f\uff0c\u5373\u53ef\u7372\u5f97\u5b83\u5011\u4e4b\u9593\u76f8\u5dee\u7684\u5929\u6578\u3002\u9019\u500b\u8a08\u7b97\u6a5f\u53ef\u4ee5\u8655\u7406\u5f9e\u516c\u51431\u5e741\u67081\u65e5\u5230\u516c\u51439999\u5e7412\u670831\u65e5\u4e4b\u9593\u7684\u6240\u6709\u65e5\u671f\u3002<\/p>\n\n\n\n<p>\u5047\u8a2d\u60a8\u60f3\u77e5\u9053\u5f9e\u4eca\u5929\u7b97\u8d77\uff0c\u5169\u500b\u6708\u5f8c\u7684\u65e5\u671f\u662f\u54ea\u4e00\u5929\u3002\u60a8\u53ef\u4ee5\u5148\u8f38\u5165\u4eca\u5929\u7684\u65e5\u671f\uff0c\u7136\u5f8c\u5728\u5929\u6578\u6b04\u4f4d\u4e2d\u8f38\u5165&#8221;60&#8243;\uff0c\u6700\u5f8c\u9ede\u64ca\u8a08\u7b97\u6309\u9215\u3002\u8a08\u7b97\u6a5f\u6703\u81ea\u52d5\u8a08\u7b97\u51fa\u5169\u500b\u6708\u5f8c\u7684\u65e5\u671f\uff0c\u4e26\u986f\u793a\u5728\u7d50\u679c\u6b04\u4f4d\u4e2d\u3002<\/p>\n\n\n\n<p>\u6b64\u5916\uff0c\u5982\u679c\u60a8\u60f3\u8a08\u7b97\u5169\u500b\u65e5\u671f\u4e4b\u9593\u76f8\u5dee\u591a\u5c11\u5929\uff0c\u4e5f\u53ef\u4ee5\u4f7f\u7528\u9019\u500b\u8a08\u7b97\u6a5f\u3002\u60a8\u53ea\u9700\u8981\u5206\u5225\u8f38\u5165\u9019\u5169\u500b\u65e5\u671f\uff0c\u7136\u5f8c\u9ede\u64ca\u8a08\u7b97\u6309\u9215\u5373\u53ef\u3002<\/p>\n\n\n\n<p>\u7e3d\u4e4b\uff0c\u65e5\u671f\u5929\u6578\u76f8\u5dee\u8a08\u7b97\u6a5f\u662f\u4e00\u500b\u975e\u5e38\u5be6\u7528\u7684\u5de5\u5177\uff0c\u5b83\u53ef\u4ee5\u5e6b\u52a9\u60a8\u5feb\u901f\u8a08\u7b97\u5169\u500b\u65e5\u671f\u4e4b\u9593\u76f8\u5dee\u7684\u5929\u6578\uff0c\u4e26\u4e14\u975e\u5e38\u5bb9\u6613\u4f7f\u7528\u3002&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u65e5\u671f\u5929\u6578\u76f8\u5dee\u8a08\u7b97\u6a5f\u662f\u4e00\u7a2e\u53ef\u4ee5\u8a08\u7b97\u5169\u500b\u65e5\u671f\u4e4b\u9593\u76f8\u5dee\u5929\u6578\u7684\u5de5\u5177\u3002\u4f8b\u5982\uff0c\u5982\u679c\u60a8\u60f3\u77e5\u9053\u5f9e\u4eca\u5929\u7b97\u8d77\uff0c\u5169\u500b\u6708\u5f8c\u7684\u65e5\u671f\u662f\u54ea\u4e00\u5929\uff0c\u6216\u8005\u8a08\u7b97\u5169\u500b\u65e5\u671f\u4e4b\u9593\u76f8\u5dee\u591a\u5c11\u5929\uff0c\u90a3\u9ebc\u9019\u500b\u8a08\u7b97\u6a5f\u53ef\u4ee5\u5e6b\u52a9\u60a8\u5feb\u901f\u89e3\u6c7a\u9019\u4e9b\u554f\u984c\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[28],"tags":[111],"_links":{"self":[{"href":"https:\/\/annion.kingbig.idv.tw\/tool-app\/index.php?rest_route=\/wp\/v2\/posts\/749"}],"collection":[{"href":"https:\/\/annion.kingbig.idv.tw\/tool-app\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/annion.kingbig.idv.tw\/tool-app\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/annion.kingbig.idv.tw\/tool-app\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/annion.kingbig.idv.tw\/tool-app\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=749"}],"version-history":[{"count":10,"href":"https:\/\/annion.kingbig.idv.tw\/tool-app\/index.php?rest_route=\/wp\/v2\/posts\/749\/revisions"}],"predecessor-version":[{"id":1901,"href":"https:\/\/annion.kingbig.idv.tw\/tool-app\/index.php?rest_route=\/wp\/v2\/posts\/749\/revisions\/1901"}],"wp:attachment":[{"href":"https:\/\/annion.kingbig.idv.tw\/tool-app\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=749"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/annion.kingbig.idv.tw\/tool-app\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=749"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/annion.kingbig.idv.tw\/tool-app\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=749"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}