{"id":256496,"date":"2024-05-15T11:47:17","date_gmt":"2024-05-15T03:47:17","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/256496.html"},"modified":"2024-05-15T11:47:23","modified_gmt":"2024-05-15T03:47:23","slug":"c-%e8%af%ad%e8%a8%80%e4%bb%a3%e7%a0%81%e5%a6%82%e4%bd%95%e5%ae%9e%e7%8e%b0%e6%97%b6%e9%97%b4%e5%b7%ae%e5%bc%82%e8%ae%a1%e7%ae%97","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/256496.html","title":{"rendered":"C \u8bed\u8a00\u4ee3\u7801\u5982\u4f55\u5b9e\u73b0\u65f6\u95f4\u5dee\u5f02\u8ba1\u7b97"},"content":{"rendered":"<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/27102439\/99e75396-da1a-4a58-9a4d-c5f71548eaf4.webp\" alt=\"C \u8bed\u8a00\u4ee3\u7801\u5982\u4f55\u5b9e\u73b0\u65f6\u95f4\u5dee\u5f02\u8ba1\u7b97\" \/><\/p>\n<p><p>C\u8bed\u8a00\u4e2d\u8ba1\u7b97\u65f6\u95f4\u5dee\u5f02\uff0c\u901a\u5e38\u6d89\u53ca\u5230\u4e24\u4e2a\u91cd\u8981\u7684\u7ed3\u6784\u4f53\uff1a<strong><code>time_t<\/code>\u548c<code>struct tm<\/code><\/strong>\u3002<code>time_t<\/code>\u662fUnix\u65f6\u95f4\u6233\uff0c\u8868\u793a\u81ea1970\u5e741\u67081\u65e5\uff08UTC\/GMT\uff09\u4ee5\u6765\u7684\u79d2\u6570\uff1b\u800c<code>struct tm<\/code>\u662f\u4e00\u4e2a\u4fdd\u5b58\u7740\u65f6\u95f4\u548c\u65e5\u671f\u5404\u4e2a\u7ec4\u6210\u90e8\u5206\uff08\u4f8b\u5982\u5e74\u3001\u6708\u3001\u65e5\u3001\u5c0f\u65f6\u7b49\uff09\u7684\u7ed3\u6784\u4f53\u3002\u5b9e\u73b0\u65f6\u95f4\u5dee\u5f02\u8ba1\u7b97\u7684\u65b9\u6cd5\u5305\u62ec\u83b7\u53d6\u5f53\u524d\u65f6\u95f4\u6233\u3001\u5c06<code>time_t<\/code>\u8f6c\u6362\u4e3a<code>struct tm<\/code>\u3001\u4ee5\u53ca\u4f7f\u7528<code>difftime<\/code>\u51fd\u6570\u8ba1\u7b97\u4e24\u4e2a\u65f6\u95f4\u70b9\u4e4b\u95f4\u7684\u79d2\u6570\u5dee\u5f02\u7b49\u3002\u8fd9\u4e9b\u64cd\u4f5c\u901a\u5e38\u4f1a\u7528\u5230<code>time.h<\/code>\u5934\u6587\u4ef6\u4e2d\u7684\u51fd\u6570\uff0c\u5982<code>time()<\/code>\u3001<code>localtime()<\/code>\u3001<code>mktime()<\/code>\u548c<code>difftime()<\/code>\u3002<\/p>\n<\/p>\n<p><p>\u5728\u8be6\u7ec6\u63cf\u8ff0\u4e4b\u524d\uff0c\u4e00\u4e2a\u7b80\u5355\u7684\u5b9e\u73b0\u65f6\u95f4\u5dee\u5f02\u8ba1\u7b97\u7684C\u8bed\u8a00\u4ee3\u7801\u53ef\u80fd\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-c\">#include &lt;stdio.h&gt;<\/p>\n<p>#include &lt;time.h&gt;<\/p>\n<p>int m<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>n() {<\/p>\n<p>    \/\/ \u83b7\u53d6\u5f00\u59cb\u65f6\u95f4<\/p>\n<p>    time_t start_time;<\/p>\n<p>    start_time = time(NULL);<\/p>\n<p>    \/\/ \u5047\u8bbe\u7a0b\u5e8f\u5728\u6b64\u6267\u884c\u4e86\u4e00\u7cfb\u5217\u64cd\u4f5c<\/p>\n<p>    \/\/ \u83b7\u53d6\u7ed3\u675f\u65f6\u95f4<\/p>\n<p>    time_t end_time;<\/p>\n<p>    end_time = time(NULL);<\/p>\n<p>    \/\/ \u8ba1\u7b97\u65f6\u95f4\u5dee<\/p>\n<p>    double diff = difftime(end_time, start_time);<\/p>\n<p>    printf(&quot;Operation took %f seconds to complete.\\n&quot;, diff);<\/p>\n<p>    return 0;<\/p>\n<p>}<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u8ff0\u4ee3\u7801\u4e2d\uff0c\u6211\u4eec\u501f\u52a9<code>time()<\/code>\u51fd\u6570\u83b7\u53d6\u4e86\u64cd\u4f5c\u5f00\u59cb\u548c\u7ed3\u675f\u65f6\u7684Unix\u65f6\u95f4\u6233\uff0c\u7136\u540e\u4f7f\u7528<code>difftime()<\/code>\u51fd\u6570\u8ba1\u7b97\u51fa\u4e86\u4e8c\u8005\u7684\u65f6\u95f4\u5dee\u3002\u8fd9\u4e2a\u5dee\u503c\u4ee5\u79d2\u4e3a\u5355\u4f4d\uff0c\u4fbf\u4e8e\u7406\u89e3\u548c\u8ba1\u7b97\u3002<\/p>\n<\/p>\n<p><h2>\u4e00\u3001\u83b7\u53d6\u5f53\u524d\u65f6\u95f4<\/h2>\n<\/p>\n<p><p>\u4e3a\u4e86\u8ba1\u7b97\u65f6\u95f4\u5dee\u5f02\uff0c\u4f60\u9996\u5148\u9700\u8981\u83b7\u5f97\u65f6\u95f4\u7684\u521d\u59cb\u70b9\u3002\u5728C\u8bed\u8a00\u4e2d\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528<code>time()<\/code>\u51fd\u6570\u6765\u83b7\u53d6\u5f53\u524d\u7684\u65f6\u95f4\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-c\">#include &lt;time.h&gt;<\/p>\n<p>time_t current_time;<\/p>\n<p>current_time = time(NULL);<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u4e2a\u51fd\u6570\u8fd4\u56de\u5f53\u524d\u7684Unix\u65f6\u95f4\u6233\u3002\u5982\u679c\u51fd\u6570\u6267\u884c\u6210\u529f\uff0c<code>current_time<\/code>\u5c06\u88ab\u8bbe\u7f6e\u4e3a\u81ea1970\u5e741\u67081\u65e5\u4ee5\u6765\u7684\u603b\u79d2\u6570\u3002\u5982\u679c\u6709\u9519\u8bef\u53d1\u751f\uff0c\u8fd4\u56de\u503c\u901a\u5e38\u662f<code>(time_t)-1<\/code>\u3002<\/p>\n<\/p>\n<p><h2>\u4e8c\u3001\u8f6c\u6362\u65f6\u95f4\u683c\u5f0f<\/h2>\n<\/p>\n<p><p>\u6709\u65f6\u5019\u9700\u8981\u628a<code>time_t<\/code>\u7c7b\u578b\u7684\u65f6\u95f4\u8f6c\u6362\u4e3a<code>struct tm<\/code>\u7c7b\u578b\u7684\u65f6\u95f4\u7ed3\u6784\u4f53\uff0c\u8fd9\u53ef\u4ee5\u901a\u8fc7<code>localtime()<\/code>\u51fd\u6570\u5b9e\u73b0\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-c\">struct tm *time_info;<\/p>\n<p>time_info = localtime(&amp;current_time);<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><code>localtime()<\/code>\u51fd\u6570\u5c06<code>time_t<\/code>\u7c7b\u578b\u7684\u65f6\u95f4\u8f6c\u6362\u4e3a\u8868\u793a\u672c\u5730\u65f6\u95f4\u7684<code>struct tm<\/code>\u7ed3\u6784\u4f53\u6307\u9488\u3002\u5f97\u5230<code>time_info<\/code>\u540e\uff0c\u4f60\u53ef\u4ee5\u65b9\u4fbf\u5730\u8bbf\u95ee\u65f6\u95f4\u548c\u65e5\u671f\u7684\u5404\u4e2a\u7ec4\u6210\u90e8\u5206\u3002<\/p>\n<\/p>\n<p><h2>\u4e09\u3001\u65f6\u95f4\u5dee\u5f02\u7684\u8ba1\u7b97<\/h2>\n<\/p>\n<p><p>\u8981\u8ba1\u7b97\u4e24\u4e2a\u65f6\u95f4\u70b9\u4e4b\u95f4\u7684\u5dee\u5f02\uff0c\u4f60\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528<code>difftime()<\/code>\u51fd\u6570\uff0c\u5b83\u63a5\u53d7\u4e24\u4e2a<code>time_t<\/code>\u578b\u53c2\u6570\u5e76\u8fd4\u56de\u4e8c\u8005\u95f4\u7684\u79d2\u6570\u5dee\u5f02\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-c\">double seconds;<\/p>\n<p>seconds = difftime(later_time, earlier_time);<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u91cc<code>later_time<\/code>\u548c<code>earlier_time<\/code>\u5206\u522b\u4ee3\u8868\u4e24\u4e2a\u4e0d\u540c\u7684\u65f6\u95f4\u70b9\u3002<code>seconds<\/code>\u53d8\u91cf\u5c06\u5b58\u50a8\u4e24\u8005\u4e4b\u95f4\u7684\u65f6\u95f4\u5dee\u3002<\/p>\n<\/p>\n<p><h2>\u56db\u3001\u65f6\u95f4\u5dee\u5f02\u7684\u9ad8\u7ea7\u8ba1\u7b97<\/h2>\n<\/p>\n<p><p>\u5982\u679c\u4f60\u9700\u8981\u66f4\u8be6\u7ec6\u5730\u4e86\u89e3\u65f6\u95f4\u5dee\u5f02\uff0c\u6bd4\u5982\u60f3\u77e5\u9053\u4e24\u4e2a\u65f6\u95f4\u70b9\u95f4\u5dee\u4e86\u591a\u5c11\u5e74\u3001\u6708\u3001\u65e5\u3001\u5c0f\u65f6\u3001\u5206\u949f\u548c\u79d2\uff0c\u5c31\u9700\u8981\u5bf9<code>struct tm<\/code>\u8fdb\u884c\u64cd\u4f5c\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-c\">struct tm start_tm, end_tm;<\/p>\n<p>\/\/ \u5047\u8bbe\u8fd9\u91cc\u521d\u59cb\u5316\u4e86start_tm\u548cend_tm<\/p>\n<p>\/\/ \u5c06struct tm\u8f6c\u6362\u56detime_t\uff0c\u8fdb\u884c\u5dee\u5f02\u8ba1\u7b97<\/p>\n<p>time_t start = mktime(&amp;start_tm);<\/p>\n<p>time_t end = mktime(&amp;end_tm);<\/p>\n<p>\/\/ \u7136\u540e\u4f7f\u7528difftime\u83b7\u5f97\u603b\u79d2\u6570<\/p>\n<p>double seconds_diff = difftime(end, start);<\/p>\n<p>\/\/ \u7ed3\u6784\u4f53\u6bd4\u8f83\uff0c\u8ba1\u7b97\u5e74\u3001\u6708\u3001\u65e5\u3001\u5c0f\u65f6\u7b49\u5dee\u5f02<\/p>\n<p>int years_diff = end_tm.tm_year - start_tm.tm_year;<\/p>\n<p>int months_diff = end_tm.tm_mon - start_tm.tm_mon;<\/p>\n<p>\/\/ ...\u4ee5\u6b64\u7c7b\u63a8\uff0c\u5bf9\u4e8e\u65e5\u3001\u5c0f\u65f6\u7b49\u7684\u8ba1\u7b97<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u5148\u628a<code>struct tm<\/code>\u8f6c\u6362\u56deUnix\u65f6\u95f4\u6233\u683c\u5f0f\uff0c\u518d\u8ba1\u7b97\u603b\u7684\u79d2\u6570\u5dee\u5f02\uff0c\u6700\u540e\u624b\u52a8\u6bd4\u8f83\u7ed3\u6784\u4f53\u7684\u5404\u4e2a\u90e8\u5206\u5f97\u5230\u66f4\u5177\u4f53\u7684\u5dee\u5f02\u503c\u3002<\/p>\n<\/p>\n<p><h2>\u4e94\u3001\u6848\u4f8b\u5206\u6790<\/h2>\n<\/p>\n<p><p>\u8ba9\u6211\u4eec\u770b\u4e00\u4e2a\u5177\u4f53\u7684\u6848\u4f8b\u3002\u5047\u8bbe\u4f60\u60f3\u77e5\u9053\u67d0\u4e2a\u7279\u5b9a\u4e8b\u4ef6\uff08\u5982\u7a0b\u5e8f\u8fd0\u884c\u3001\u6587\u4ef6\u5904\u7406\u7b49\uff09\u9700\u8981\u591a\u957f\u65f6\u95f4\u3002\u4f60\u5c06\u5728\u4e8b\u4ef6\u5f00\u59cb\u5904\u83b7\u53d6\u4e00\u4e2a\u65f6\u95f4\u70b9\uff0c\u5728\u7ed3\u675f\u5904\u83b7\u53d6\u53e6\u4e00\u4e2a\u65f6\u95f4\u70b9\uff0c\u7136\u540e\u8ba1\u7b97\u4e8c\u8005\u7684\u5dee\u5f02\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-c\">#include &lt;stdio.h&gt;<\/p>\n<p>#include &lt;time.h&gt;<\/p>\n<p>int main() {<\/p>\n<p>    \/\/ \u8bb0\u5f55\u5f00\u59cb\u65f6\u95f4<\/p>\n<p>    time_t start = time(NULL);<\/p>\n<p>    \/\/ \u5728\u8fd9\u91cc\u6267\u884c\u7279\u5b9a\u7684\u4e8b\u4ef6<\/p>\n<p>    \/\/ \u8bb0\u5f55\u7ed3\u675f\u65f6\u95f4<\/p>\n<p>    time_t end = time(NULL);<\/p>\n<p>    \/\/ \u8ba1\u7b97\u8017\u65f6<\/p>\n<p>    double seconds = difftime(end, start);<\/p>\n<p>    printf(&quot;The event took %f seconds.\\n&quot;, seconds);<\/p>\n<p>    return 0;<\/p>\n<p>}<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5bf9\u4e8e\u9700\u8981\u7cbe\u7ec6\u7684\u65f6\u95f4\u5dee\u5f02\u8ba1\u7b97\uff0c\u4f8b\u5982\u60f3\u8981\u6309\u5e74\u3001\u6708\u3001\u65e5\u6765\u8ba1\u7b97\u65f6\u95f4\u5dee\u5f02\uff0c\u4f60\u9700\u8981\u5bf9<code>struct tm<\/code>\u4e2d\u7684\u76f8\u5173\u6210\u5458\u53d8\u91cf\u505a\u5dee\u5f02\u6bd4\u8f83\uff0c\u5982\u6bd4\u8f83\u5e74\u4efd\u5dee<code>tm_year<\/code>\uff0c\u6708\u4efd\u5dee<code>tm_mon<\/code>\uff0c\u5929\u6570\u5dee<code>tm_mday<\/code>\uff0c\u7b49\u7b49\u3002\u8fd9\u79cd\u65b9\u6cd5\u53ef\u4ee5\u63d0\u4f9b\u66f4\u8be6\u7ec6\u548c\u7cbe\u786e\u7684\u65f6\u95f4\u5dee\u4fe1\u606f\uff0c\u5c24\u5176\u5728\u5904\u7406\u65e5\u5386\u6570\u636e\u65f6\u975e\u5e38\u6709\u7528\u3002<\/p>\n<\/p>\n<p><p>\u603b\u4e4b\uff0cC\u8bed\u8a00\u63d0\u4f9b\u4e86\u591a\u79cd\u65b9\u5f0f\u7528\u4e8e\u65f6\u95f4\u5dee\u5f02\u7684\u8ba1\u7b97\u3002\u901a\u8fc7\u7ed3\u5408<code>time.h<\/code>\u5934\u6587\u4ef6\u4e2d\u7684\u51fd\u6570\u4f7f\u7528\uff0c\u4f60\u53ef\u4ee5\u6309\u7167\u9700\u6c42\u8fdb\u884c\u7cbe\u786e\u7684\u65f6\u95f4\u8fd0\u7b97\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p><strong>1. \u5982\u4f55\u4f7f\u7528 C \u8bed\u8a00\u4ee3\u7801\u8ba1\u7b97\u65f6\u95f4\u5dee\u5f02\uff1f<\/strong><\/p>\n<p>\u8ba1\u7b97\u65f6\u95f4\u5dee\u5f02\u9700\u8981\u786e\u4fdd\u4f60\u6709\u4e24\u4e2a\u6709\u6548\u7684\u65f6\u95f4\u70b9\uff0c\u6bd4\u5982\u4f7f\u7528 time_t \u6570\u636e\u7c7b\u578b\u6765\u8868\u793a\u65f6\u95f4\u3002\u4f60\u53ef\u4ee5\u4f7f\u7528 time() \u51fd\u6570\u83b7\u53d6\u5f53\u524d\u65f6\u95f4\uff0c\u5e76\u5c06\u5176\u5b58\u50a8\u5728\u53d8\u91cf\u4e2d\u3002\u63a5\u4e0b\u6765\uff0c\u4f60\u53ef\u4ee5\u901a\u8fc7\u76f8\u51cf\u4e24\u4e2a\u65f6\u95f4\u70b9\uff0c\u6765\u8ba1\u7b97\u5b83\u4eec\u4e4b\u95f4\u7684\u65f6\u95f4\u5dee\u5f02\u3002\u6700\u540e\uff0c\u5c06\u65f6\u95f4\u5dee\u5f02\u8f6c\u6362\u4e3a\u4f60\u6240\u9700\u7684\u65f6\u95f4\u5355\u5143\uff08\u5982\u79d2\u3001\u5206\u949f\u6216\u5c0f\u65f6\uff09\u3002<\/p>\n<p><strong>2. C \u8bed\u8a00\u4e2d\u5982\u4f55\u5904\u7406\u65f6\u95f4\u5355\u4f4d\u8f6c\u6362\uff1f<\/strong><\/p>\n<p>C \u8bed\u8a00\u4e2d\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528\u6807\u51c6\u5e93\u51fd\u6570\u6765\u5904\u7406\u65f6\u95f4\u5355\u4f4d\u8f6c\u6362\u3002\u6bd4\u5982\uff0c\u4f7f\u7528 mktime() \u51fd\u6570\u53ef\u4ee5\u5c06\u65f6\u95f4\u7ed3\u6784\u8f6c\u6362\u4e3a time_t \u7c7b\u578b\uff0c\u800c difftime() \u53ef\u4ee5\u8ba1\u7b97\u4e24\u4e2a\u65f6\u95f4\u70b9\u7684\u65f6\u95f4\u5dee\u5f02\u3002\u53e6\u5916\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528 localtime() \u6216 gmtime() \u51fd\u6570\u5c06 time_t \u7c7b\u578b\u8f6c\u6362\u4e3a\u65f6\u95f4\u7ed3\u6784\uff0c\u7136\u540e\u901a\u8fc7\u8bbf\u95ee\u7ed3\u6784\u4e2d\u7684\u6210\u5458\u6765\u83b7\u53d6\u5177\u4f53\u7684\u65f6\u95f4\u5355\u4f4d\u3002<\/p>\n<p><strong>3. \u5982\u4f55\u4f7f\u7528 C \u8bed\u8a00\u4ee3\u7801\u8ba1\u7b97\u8ddd\u79bb\u6307\u5b9a\u65e5\u671f\u7684\u65f6\u95f4\u5dee\u5f02\uff1f<\/strong><\/p>\n<p>\u8981\u8ba1\u7b97\u8ddd\u79bb\u67d0\u4e2a\u7279\u5b9a\u65e5\u671f\u7684\u65f6\u95f4\u5dee\u5f02\uff0c\u4f60\u9996\u5148\u9700\u8981\u83b7\u53d6\u6307\u5b9a\u65e5\u671f\u7684\u65f6\u95f4\u6233\uff0c\u5373\u5c06\u5176\u8f6c\u6362\u4e3a time_t \u7c7b\u578b\u3002\u7136\u540e\uff0c\u83b7\u53d6\u5f53\u524d\u65f6\u95f4\u7684\u65f6\u95f4\u6233\u5e76\u5c06\u4e24\u8005\u76f8\u51cf\uff0c\u5f97\u5230\u65f6\u95f4\u5dee\u5f02\u3002\u6700\u540e\uff0c\u6309\u7167\u9700\u8981\u7684\u65f6\u95f4\u5355\u4f4d\uff08\u5982\u5929\u3001\u5c0f\u65f6\u6216\u5206\u949f\uff09\u8f6c\u6362\u65f6\u95f4\u5dee\u5f02\uff0c\u4ee5\u83b7\u5f97\u76f8\u5e94\u7684\u7ed3\u679c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"C\u8bed\u8a00\u4e2d\u8ba1\u7b97\u65f6\u95f4\u5dee\u5f02\uff0c\u901a\u5e38\u6d89\u53ca\u5230\u4e24\u4e2a\u91cd\u8981\u7684\u7ed3\u6784\u4f53\uff1atime_t\u548cstruct tm\u3002time_t\u662fUnix\u65f6\u95f4 [&hellip;]","protected":false},"author":3,"featured_media":256503,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/256496"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=256496"}],"version-history":[{"count":0,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/256496\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/256503"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=256496"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=256496"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=256496"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}