
{"id":9837,"date":"2025-09-05T16:00:15","date_gmt":"2025-09-05T07:00:15","guid":{"rendered":"https:\/\/techmania.jp\/blog\/?p=9837"},"modified":"2025-10-17T18:14:21","modified_gmt":"2025-10-17T09:14:21","slug":"php-date","status":"publish","type":"post","link":"https:\/\/techmania.jp\/blog\/php-date\/","title":{"rendered":"\u3010PHP\u5165\u9580\u3011date\u95a2\u6570\u306e\u4f7f\u3044\u65b9\u3068\u65e5\u4ed8\u306e\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3092\u89e3\u8aac"},"content":{"rendered":"\n<p>\u65e5\u4ed8\u3084\u6642\u523b\u306b\u95a2\u3059\u308b\u60c5\u5831\u3092\u6271\u3044\u305f\u3044\u5834\u5408\u306b\u4f7f\u7528\u3067\u304d\u308b\u95a2\u6570\u306e\u4e00\u3064\u306b\u3001\u300cdate\u300d \u95a2\u6570\u304c\u3042\u308a\u307e\u3059\u3002<br>\u7279\u5b9a\u306e\u65e5\u6642\u306b\u3064\u3044\u3066\u306e\u60c5\u5831\u304c\u53d6\u5f97\u3067\u304d\u308b\u3060\u3051\u3067\u306a\u304f\u3001\u6307\u5b9a\u3057\u305f\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u306b\u57fa\u3065\u3044\u3066\u6587\u5b57\u5217\u3092\u6574\u5f62\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u4fbf\u5229\u306a\u95a2\u6570\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u4eca\u56de\u306e\u8a18\u4e8b\u3067\u306f\u3001date\u95a2\u6570\u306e\u5177\u4f53\u7684\u306a\u4f7f\u7528\u65b9\u6cd5\u306b\u3064\u3044\u3066\u89e3\u8aac\u3057\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h2 id=\"outline__1\" class=\"wp-block-heading\">PHP\u306edate\u95a2\u6570\u3068\u306f\uff1f<\/h2>\n\n\n\n<p>date\u95a2\u6570\u306f\u3001\u65e5\u4ed8\u3084\u6642\u523b\u3092\u4efb\u610f\u306e\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3067\u53d6\u5f97\u3059\u308b\u305f\u3081\u306e\u95a2\u6570\u3067\u3059\u3002<br>\u3053\u306e\u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u306b\u3088\u308a\u3001\u73fe\u5728\u65e5\u6642\u306e\u53d6\u5f97\u3084\u3001Unix\u306e\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7\u3092\u5143\u306b\u3057\u305f\u7279\u5b9a\u65e5\u6642\u306e\u53d6\u5f97\u304c\u53ef\u80fd\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>Unix\u306e\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7\u3068\u306f\u30011970\u5e741\u67081\u65e5\u304b\u3089\u306e\u7d4c\u904e\u79d2\u6570\u3092\u8868\u3059\u6574\u6570\u5024\u306e\u3053\u3068\u3092\u6307\u3057\u307e\u3059\u3002<br>date\u95a2\u6570\u3067\u73fe\u5728\u6642\u70b9\u3088\u308a\u3082\u524d\u3001\u3042\u308b\u3044\u306f\u5f8c\u306e\u65e5\u4ed8\u3084\u6642\u9593\u3092\u53d6\u5f97\u3059\u308b\u5834\u5408\u306f\u3001\u3053\u306e\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h2 id=\"outline__2\" class=\"wp-block-heading\">date\u95a2\u6570\u306e\u4f7f\u3044\u65b9<\/h2>\n\n\n\n<p>\u305d\u308c\u3067\u306f\u3001date\u95a2\u6570\u306e\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9\u304b\u3089\u9806\u306b\u898b\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<h3 id=\"outline__2_1\" class=\"wp-block-heading\">\u57fa\u672c\u69cb\u6587<\/h3>\n\n\n\n<p>\u307e\u305a\u306f\u3001date\u95a2\u6570\u306e\u57fa\u672c\u69cb\u6587\u304b\u3089\u898b\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<br>\u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u969b\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u69cb\u6587\u3067\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u3010\u57fa\u672c\u69cb\u6587\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-php\" data-lang=\"PHP\"><code>date(\u30d5\u30a9\u30fc\u30de\u30c3\u30c8, \u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7)<\/code><\/pre><\/div>\n\n\n\n<p>\u7b2c\uff11\u5f15\u6570\u3067\u306f\u3001\u53d6\u5f97\u3057\u305f\u65e5\u6642\u306e\u8868\u793a\u5f62\u5f0f\uff08\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\uff09\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<br>\u7b2c\uff12\u5f15\u6570\u306b\u306f\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7\u3092\u6307\u5b9a\u3057\u307e\u3059\u304c\u3001\u3053\u3061\u3089\u306f\u7701\u7565\u304c\u53ef\u80fd\u3067\u3059\u3002<br>\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7\u3092\u7701\u7565\u3057\u305f\u5834\u5408\u306f\u3001\u73fe\u5728\u65e5\u6642\u3092\u53d6\u5f97\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u307e\u305f\u3001\u95a2\u6570\u306e\u623b\u308a\u5024\u306f\u6587\u5b57\u5217\u304c\u8fd4\u5374\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4ee5\u4e0b\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3067\u3001\u5b9f\u969b\u306e\u52d5\u304d\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p><strong>\u3010\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-php\" data-lang=\"PHP\"><code>&lt;?php\n\n\/\/ \u73fe\u5728\u306e\u65e5\u4ed8\u3092\u53d6\u5f97\u3059\u308b\necho date(&#39;Y\/m\/d&#39;), &quot;\\n&quot;;\n\n\/\/ \u73fe\u5728\u306e\u6642\u523b\u3092\u53d6\u5f97\u3059\u308b\necho date(&#39;H:i:s&#39;), &quot;\\n&quot;;\n\n\/\/ \u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7\u3092\u4f7f\u7528\u3059\u308b\necho date(&#39;Y\u5e74n\u6708j\u65e5 H\u6642i\u5206s\u79d2&#39;, 60), &quot;\\n&quot;;\n\n?&gt;<\/code><\/pre><\/div>\n\n\n\n<p><strong>\u3010\u5b9f\u884c\u7d50\u679c\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>2025\/09\/05\n02:25:39\n1970\u5e741\u67081\u65e5 00\u664201\u520600\u79d2<\/code><\/pre><\/div>\n\n\n\n<p>\u203b\u5b9f\u884c\u7d50\u679c\u306e\u4e0a2\u884c\u5206\u306f\u5b9f\u884c\u6642\u70b9\u306e\u65e5\u6642\u306b\u3088\u3063\u3066\u5909\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>Unix\u306e\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7\u306f1970\u5e741\u67081\u65e5\u306e0\u66420\u5206\u304b\u3089\u4f55\u79d2\u7d4c\u904e\u3057\u305f\u304b\u3092\u8868\u3059\u6570\u5024\u306a\u306e\u3067\u3001\u4f8b\u3048\u3070\u4e0a\u8a18\u306e\u4f8b\u306e\u3088\u3046\u306b \u300c60\u300d \u3092\u6307\u5b9a\u3059\u308b\u3068\u30011\u5206\u7d4c\u904e\u3057\u305f\u65e5\u6642\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<h3 id=\"outline__2_2\" class=\"wp-block-heading\">\u6307\u5b9a\u3067\u304d\u308b\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u6587\u5b57\u306e\u4e00\u89a7<\/h3>\n\n\n\n<p>\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u306e\u6307\u5b9a\u306b\u306f\u3001\u305d\u308c\u305e\u308c\u5e74\u6708\u65e5\u3084\u6642\u523b\u3092\u8868\u3059\u305f\u3081\u306e\u6587\u5b57 (\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u6587\u5b57) \u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u305d\u306e\u4e2d\u3067\u3082\u3088\u304f\u4f7f\u7528\u3055\u308c\u308b\u4ee3\u8868\u7684\u306a\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u6587\u5b57\u306b\u3064\u3044\u3066\u3001\u4ee5\u4e0b\u306e\u8868\u306b\u307e\u3068\u3081\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<style>\n    table.referrence {\n        border: 2px solid rgb(140 140 140);\n        border-collapse: collapse;\n        table-layout: auto;\n        width: 100%\n    }\n\n    th {\n        background-color: #B8CCE4 !important;\n        color: #000 !important;\n        text-align: center !important;\n    }\n\n    th,\n    td {\n        border: 1px solid rgb(160 160 160) !important;\n        padding: 1%;\n        background: #FFF\n    }\n\n    td:nth-last-child(n+2) {\n        text-align: center;\n    }\n<\/style>\n<table class=\"referrence\">\n    <thead>\n        <tr>\n            <th>\u6587\u5b57<\/th>\n            <th>\u8aac\u660e<\/th>\n            <th>\u8868\u793a\u4f8b<\/th>\n        <\/tr>\n    <\/thead>\n    <tbody>\n        <tr>\n            <td>Y<\/td>\n            <td>\uff14\u6841\u4ee5\u4e0a\u306e\u5e74\u3002( \u7d00\u5143\u524d\u306e\u5834\u5408\u306f \uff0d \u304c\u4ed8\u304f )<\/td>\n            <td>\u4f8b: -0055, 2010, 10151<\/td>\n        <\/tr>\n        <tr>\n            <td>\uff59<\/td>\n            <td>\uff12\u6841\u306e\u5e74\u3002<\/td>\n            <td>\u4f8b: 01, 70<\/td>\n        <\/tr>\n        <tr>\n            <td>\uff4d<\/td>\n            <td>\uff10\u57cb\u3081\u6709\u308a\u306e\u6708\u3002( 01\uff5e12 )<\/td>\n            <td>\u4f8b: 01, 12<\/td>\n        <\/tr>\n        <tr>\n            <td>\uff4e<\/td>\n            <td>\uff10\u57cb\u3081\u7121\u3057\u306e\u6708\u3002( 1\uff5e12 )<\/td>\n            <td>\u4f8b: 1, 12<\/td>\n        <\/tr>\n        <tr>\n            <td>\uff44<\/td>\n            <td>\uff10\u57cb\u3081\u6709\u308a\u306e\u65e5\u3002( 01\uff5e31 )<\/td>\n            <td>\u4f8b: 01, 31<\/td>\n        <\/tr>\n        <tr>\n            <td>\uff4a<\/td>\n            <td>\uff10\u57cb\u3081\u7121\u3057\u306e\u65e5\u3002( 1\uff5e31 )<\/td>\n            <td>\u4f8b: 1, 31<\/td>\n        <\/tr>\n        <tr>\n            <td>H<\/td>\n            <td>\uff12\uff14\u6642\u9593\u5f62\u5f0f\u306e\u6642\u3002\uff08 00\u301c23 \uff09<\/td>\n            <td>\u4f8b: 00, 23<\/td>\n        <\/tr>\n        <tr>\n            <td>h<\/td>\n            <td>\uff11\uff12\u6642\u9593\u5f62\u5f0f\u306e\u6642\u3002\uff08 00\u301c12 \uff09<\/td>\n            <td>\u4f8b: 01, 12<\/td>\n        <\/tr>\n        <tr>\n            <td>i<\/td>\n            <td>\u5206\u3002\uff08 00\u301c59 \uff09<\/td>\n            <td>\u4f8b: 00, 59<\/td>\n        <\/tr>\n        <tr>\n            <td>s<\/td>\n            <td>\u79d2\u3002\uff08 00\u301c59 \uff09<\/td>\n            <td>\u4f8b: 00, 59<\/td>\n        <\/tr>\n        <tr>\n            <td>A<\/td>\n            <td>\u5348\u524d\u307e\u305f\u306f\u5348\u5f8c\uff08\u5927\u6587\u5b57\uff09<\/td>\n            <td>\u4f8b: AM, PM<\/td>\n        <\/tr>\n        <tr>\n            <td>a<\/td>\n            <td>\u5348\u524d\u307e\u305f\u306f\u5348\u5f8c\uff08\u5c0f\u6587\u5b57\uff09<\/td>\n            <td>\u4f8b: am, pm<\/td>\n        <\/tr>\n        <tr>\n            <td>l (\u5c0f\u6587\u5b57\u306eL)<\/td>\n            <td>\u30d5\u30eb\u30b9\u30da\u30eb\u5f62\u5f0f\u306e\u66dc\u65e5\u3002<\/td>\n            <td>\u4f8b: Sunday, Monday<\/td>\n        <\/tr>\n        <tr>\n            <td>D<\/td>\n            <td>\uff13\u6587\u5b57\u5f62\u5f0f\u306e\u66dc\u65e5\u3002<\/td>\n            <td>\u4f8b: Sun, Mon<\/td>\n        <\/tr>\n    <\/tbody>\n<\/table>\n\n\n\n<h2 id=\"outline__3\" class=\"wp-block-heading\">\u65e5\u6642\u3092\u6307\u5b9a\u3057\u3066\u8868\u793a\u3059\u308b<\/h2>\n\n\n\n<p>\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u306b\u3088\u308a\u3001\u7279\u5b9a\u306e\u65e5\u6642\u3092\u53d6\u5f97\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3068\u89e3\u8aac\u3057\u307e\u3057\u305f\u304c\u3001\u5b9f\u969b\u306b\u53d6\u5f97\u3057\u305f\u3044\u65e5\u6642\u306e\u30bf\u30a4\u30d7\u30b9\u30bf\u30f3\u30d7\u3092\u81ea\u524d\u3067\u8a08\u7b97\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u3001\u5c11\u3005\u624b\u9593\u304c\u304b\u304b\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u305d\u3053\u3067\u3001date\u95a2\u6570\u3068\u7d44\u307f\u5408\u308f\u305b\u3066\u4f7f\u7528\u3059\u308b\u3068\u6709\u7528\u306a\u306e\u304c\u3001strtotime\u95a2\u6570\u3067\u3059\u3002<\/p>\n\n\n\n<p>strtotime\u95a2\u6570\u306f\u3001\u7279\u5b9a\u306e\u65e5\u6642\u306e\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7\u3092\u53d6\u5f97\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u95a2\u6570\u3067\u3059\u3002<br>date\u95a2\u6570\u306e\u7b2c2\u5f15\u6570\u306b strtotime\u95a2\u6570\u306e\u623b\u308a\u5024\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u306b\u3088\u308a\u3001\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7\u3092\u8a08\u7b97\u3059\u308b\u624b\u9593\u3092\u7701\u304f\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4f7f\u7528\u3059\u308b\u969b\u306e\u57fa\u672c\u69cb\u6587\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<p><strong>\u3010\u57fa\u672c\u69cb\u6587\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-php\" data-lang=\"PHP\"><code>strtotime(\u65e5\u6642, \u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7)<\/code><\/pre><\/div>\n\n\n\n<p>strtotime\u95a2\u6570\u3067\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5\u306f\uff12\u901a\u308a\u3042\u308a\u3001\u4ee5\u4e0b\u306e\u3069\u3061\u3089\u304b\u306e\u65b9\u6cd5\u3067\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u7d76\u5bfe\u65e5\u6642\u3092\u53d6\u5f97\u3059\u308b<\/li>\n\n\n\n<li>\u76f8\u5bfe\u65e5\u6642\u3092\u53d6\u5f97\u3059\u308b<\/li>\n<\/ul>\n\n\n\n<p>\u7b2c\uff11\u5f15\u6570\u306b\u306f\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7\u3092\u53d6\u5f97\u3057\u305f\u3044\u65e5\u6642\u3092\u6307\u5b9a\u3057\u307e\u3059\u304c\u3001\u3069\u3061\u3089\u306e\u65b9\u6cd5\u3092\u4f7f\u7528\u3059\u308b\u304b\u306b\u3088\u3063\u3066\u8a18\u8ff0\u65b9\u6cd5\u304c\u5909\u308f\u308a\u307e\u3059\u3002<br>\uff08\u305d\u308c\u305e\u308c\u306e\u6307\u5b9a\u65b9\u6cd5\u306b\u3064\u3044\u3066\u306f\u4e0b\u8a18\u3067\u8a73\u3057\u304f\u89e3\u8aac\u3057\u307e\u3059\uff09<\/p>\n\n\n\n<p>\u7b2c\uff12\u5f15\u6570\u306b\u306f\u3001\u53d6\u5f97\u3059\u308b\u969b\u306b\u57fa\u6e96\u3068\u306a\u308b\u65e5\u6642\u306e\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<br>\u4e0a\u8ff0\u3057\u305f\u53d6\u5f97\u65b9\u6cd5\u306e\u3046\u3061\u3001\u76f8\u5bfe\u65e5\u6642\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5\u3067\u4e3b\u306b\u4f7f\u7528\u3055\u308c\u308b\u5f15\u6570\u3067\u3059\u3002<\/p>\n\n\n\n<h3 id=\"outline__3_1\" class=\"wp-block-heading\">\u7d76\u5bfe\u65e5\u6642\u3092\u53d6\u5f97\u3059\u308b<\/h3>\n\n\n\n<p>\u7d76\u5bfe\u65e5\u6642\u3092\u53d6\u5f97\u3059\u308b\u969b\u306f\u3001\u5bfe\u8c61\u3068\u306a\u308b\u65e5\u4ed8\u3084\u6642\u9593\u3092\u7b2c1\u5f15\u6570\u306b\u76f4\u63a5\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4ee5\u4e0b\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3067\u5b9f\u969b\u306e\u52d5\u304d\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p><strong>\u3010\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>&lt;?php\n\necho strtotime(&#39;2015\/01\/31 12:00:30&#39;), &quot;\\n&quot;;\n\n?&gt;<\/code><\/pre><\/div>\n\n\n\n<p><strong>\u3010\u5b9f\u884c\u7d50\u679c\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>1422705630<\/code><\/pre><\/div>\n\n\n\n<p>date\u95a2\u6570\u3068\u7d44\u307f\u5408\u308f\u305b\u3066\u4f7f\u3046\u3053\u3068\u3067\u3001\u65e5\u6642\u3092\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3057\u3066\u8868\u793a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u3010\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-php\" data-lang=\"PHP\"><code>&lt;?php\n\n$timestamp = strtotime(&#39;2015\/01\/31 12:00:30&#39;);\necho date(&#39;Y\u5e74n\u6708j\u65e5 H\u6642i\u5206s\u79d2&#39;, $timestamp), &quot;\\n&quot;;\n\n?&gt;<\/code><\/pre><\/div>\n\n\n\n<p><strong>\u3010\u5b9f\u884c\u7d50\u679c\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>2015\u5e741\u670831\u65e5 12\u664200\u520630\u79d2<\/code><\/pre><\/div>\n\n\n\n<h3 id=\"outline__3_2\" class=\"wp-block-heading\">\u76f8\u5bfe\u65e5\u6642\u3092\u53d6\u5f97\u3059\u308b<\/h3>\n\n\n\n<p>strtotime\u95a2\u6570\u3067\u306f\u3001\u76f8\u5bfe\u65e5\u6642\u3092\u53d6\u5f97\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<br>\u76f8\u5bfe\u65e5\u6642\u3068\u306f\u3001\u300c\u6628\u65e5\u300d \u300c\u660e\u65e5\u300d \u300c\u6765\u6708\u300d \u3068\u3044\u3063\u305f\u3088\u3046\u306b\u3001\u7279\u5b9a\u306e\u65e5\u6642\u3092\u57fa\u6e96\u3068\u3057\u3066\u65e5\u4ed8\u3084\u6642\u9593\u3092\u6307\u5b9a\u3059\u308b\u8868\u73fe\u306e\u3053\u3068\u3092\u8a00\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u76f8\u5bfe\u65e5\u6642\u3092\u53d6\u5f97\u3059\u308b\u5834\u5408\u306f\u3001\u6570\u5024\u3068\u5358\u4f4d\u3092\u7d44\u307f\u5408\u308f\u305b\u3066\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u3010\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-php\" data-lang=\"PHP\"><code>&lt;?php\n\n$timestamp = strtotime(&#39;-5 hours&#39;);\necho date(&#39;Y\u5e74n\u6708j\u65e5 H\u6642i\u5206s\u79d2&#39;, $timestamp), &quot;\\n&quot;;\n\n$timestamp = strtotime(&#39;+5 months&#39;);\necho date(&#39;Y\u5e74n\u6708j\u65e5 H\u6642i\u5206s\u79d2&#39;, $timestamp), &quot;\\n&quot;;\n\n?&gt;<\/code><\/pre><\/div>\n\n\n\n<p><strong>\u3010\u5b9f\u884c\u7d50\u679c\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>2025\u5e749\u67084\u65e5 22\u664221\u520625\u79d2\n2026\u5e742\u67085\u65e5 03\u664221\u520625\u79d2<\/code><\/pre><\/div>\n\n\n\n<p>\u7b2c2\u5f15\u6570\u3092\u7701\u7565\u3057\u305f\u5834\u5408\u306f\u3001\u73fe\u5728\u65e5\u6642\u3092\u57fa\u6e96\u3068\u3057\u305f\u76f8\u5bfe\u65e5\u6642\u304c\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002<br>\u57fa\u6e96\u3068\u306a\u308b\u65e5\u6642\u3092\u4efb\u610f\u306e\u3082\u306e\u306b\u5909\u66f4\u3057\u305f\u3044\u5834\u5408\u306f\u3001\u7b2c2\u5f15\u6570\u306b\u57fa\u6e96\u3068\u3059\u308b\u65e5\u6642\u306e\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7\u3092\u6307\u5b9a\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p><strong>\u3010\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-php\" data-lang=\"PHP\"><code>&lt;?php\n\n$timestamp = strtotime(&#39;2015\/01\/31 12:00:00&#39;);\n\n$date = strtotime(&#39;-30 minutes&#39;, $timestamp);\necho date(&#39;Y\u5e74n\u6708j\u65e5 H\u6642i\u5206s\u79d2&#39;, $date), &quot;\\n&quot;;\n\n$date = strtotime(&#39;+1 year&#39;, $timestamp);\necho date(&#39;Y\u5e74n\u6708j\u65e5 H\u6642i\u5206s\u79d2&#39;, $date), &quot;\\n&quot;;\n\n?&gt;<\/code><\/pre><\/div>\n\n\n\n<p><strong>\u3010\u5b9f\u884c\u7d50\u679c\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>2015\u5e741\u670831\u65e5 11\u664230\u520600\u79d2\n2016\u5e741\u670831\u65e5 12\u664200\u520600\u79d2<\/code><\/pre><\/div>\n\n\n\n<h2 id=\"outline__4\" class=\"wp-block-heading\">\u65e5\u4ed8\u306e\u30bf\u30a4\u30e0\u30be\u30fc\u30f3\u3092\u6307\u5b9a\u3059\u308b<\/h2>\n\n\n\n<p>\u3082\u3057\u304b\u3059\u308b\u3068\u3001\u3053\u308c\u307e\u3067\u306b\u30b3\u30fc\u30c9\u3092\u8a66\u3057\u3066\u304d\u305f\u4e2d\u3067\u3001<\/p>\n\n\n\n<p>\u300c\u5b9f\u969b\u306b\u65e5\u6642\u3092\u53d6\u5f97\u3057\u3066\u307f\u305f\u3082\u306e\u306e\u3001\u73fe\u5728\u306e\u6642\u523b\u3068\u7d50\u679c\u304c\u305a\u308c\u3066\u3044\u308b\u300d<\/p>\n\n\n\n<p>\u3068\u3044\u3063\u305f\u30b1\u30fc\u30b9\u304c\u767a\u751f\u3057\u305f\u65b9\u304c\u3001\u4e2d\u306b\u306f\u3044\u308b\u306e\u3067\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n\n\n\n<p>date\u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u969b\u306b\u91cd\u8981\u306b\u306a\u3063\u3066\u304f\u308b\u306e\u304c\u3001\u30bf\u30a4\u30e0\u30be\u30fc\u30f3\u306e\u8a2d\u5b9a\u3067\u3059\u3002<br>\u5834\u5408\u306b\u3088\u3063\u3066\u306f\u3001\u3053\u306e\u8a2d\u5b9a\u304c\u539f\u56e0\u3067\u4e0a\u8a18\u306e\u3088\u3046\u306a\u554f\u984c\u304c\u767a\u751f\u3059\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30bf\u30a4\u30e0\u30be\u30fc\u30f3\u306e\u8a2d\u5b9a\u306f\u3001\u4f7f\u7528\u3059\u308b\u30b5\u30fc\u30d0\u30fc\u3054\u3068\u306b\u7570\u306a\u308a\u307e\u3059\u3002<br>\u305d\u306e\u305f\u3081\u3001date\u95a2\u6570\u3067\u65e5\u6642\u3092\u53d6\u5f97\u3059\u308b\u969b\u306f\u3001\u3042\u3089\u304b\u3058\u3081\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3084\u30b3\u30fc\u30c9\u3067\u4f7f\u7528\u3057\u305f\u3044\u30bf\u30a4\u30e0\u30be\u30fc\u30f3\u306b\u8a2d\u5b9a\u3057\u3066\u304a\u304f\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3067\u30bf\u30a4\u30e0\u30be\u30fc\u30f3\u3092\u8a2d\u5b9a\u3059\u308b\u5834\u5408\u306f\u3001\u300cphp.ini\u300d \u30d5\u30a1\u30a4\u30eb\u5185\u306e \u300cdate.timezone\u300d \u306e\u9805\u76ee\u306b\u3001\u4efb\u610f\u306e\u30bf\u30a4\u30e0\u30be\u30fc\u30f3\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u3010\u8a18\u8ff0\u4f8b\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>date.timezone = &quot;Asia\/Tokyo&quot;<\/code><\/pre><\/div>\n\n\n\n<p>\u30b3\u30fc\u30c9\u3067\u8a2d\u5b9a\u3092\u884c\u3046\u5834\u5408\u306f\u3001date_default_timezone_set\u95a2\u6570\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u3010\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-php\" data-lang=\"PHP\"><code>&lt;?php\n\n\/\/ \u65e5\u672c\u306b\u8a2d\u5b9a\ndate_default_timezone_set(&#39;Asia\/Tokyo&#39;); \necho date(&#39;Y\/m\/d H:i:s&#39;), &quot;\\n&quot;;\n\n\/\/ \u30a2\u30e1\u30ea\u30ab\u306b\u8a2d\u5b9a\ndate_default_timezone_set(&#39;America\/Adak&#39;);\necho date(&#39;Y\/m\/d H:i:s&#39;), &quot;\\n&quot;;\n\n?&gt;<\/code><\/pre><\/div>\n\n\n\n<p><strong>\u3010\u5b9f\u884c\u7d50\u679c\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>2025\/09\/03 17:10:18\n2025\/09\/02 23:10:18<\/code><\/pre><\/div>\n\n\n\n<h2 id=\"outline__5\" class=\"wp-block-heading\">\u65e5\u4ed8\u540c\u58eb\u3092\u6bd4\u8f03\u3059\u308b<\/h2>\n\n\n\n<p>\u30b1\u30fc\u30b9\u306b\u3088\u3063\u3066\u306f\u3001\u65e5\u4ed8\u9806\u306b\u30c7\u30fc\u30bf\u3092\u4e26\u3079\u66ff\u3048\u308b\u306a\u3069\u306e\u76ee\u7684\u3067\u3001\u7279\u5b9a\u306e\u65e5\u4ed8\u540c\u58eb\u3092\u6bd4\u8f03\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u5834\u5408\u3082\u5b58\u5728\u3059\u308b\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u65e5\u4ed8\u306e\u6bd4\u8f03\u3092\u884c\u3046\u5834\u5408\u306f\u3001\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7\u3092\u4f7f\u7528\u3059\u308b\u304b\u3001\u3082\u3057\u304f\u306f\u5bfe\u8c61\u306e\u65e5\u4ed8\u3054\u3068\u306b DateTime\u30af\u30e9\u30b9\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u751f\u6210\u3057\u3066\u3001\u5024\u306e\u5927\u5c0f\u3092\u6bd4\u8f03\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p><strong>\u3010\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-php\" data-lang=\"PHP\"><code>&lt;?php\n\n$date1 = new DateTime(&#39;2025-01-31&#39;);\n$date2 = new DateTime(&#39;2026-01-31&#39;);\n\nif ($date1 == $date2){\n  echo &quot;\u540c\u3058\u65e5\u4ed8\u3067\u3059&quot;;\n} else if ($date1 &gt; $date2){\n  echo &quot;date1\u306e\u65b9\u304c\u5f8c\u3067\u3059&quot;;\n} else {\n  echo &quot;date2\u306e\u65b9\u304c\u5f8c\u3067\u3059&quot;;\n}\n\n?&gt;<\/code><\/pre><\/div>\n\n\n\n<p><strong>\u3010\u5b9f\u884c\u7d50\u679c\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>date2\u306e\u65b9\u304c\u5f8c\u3067\u3059<\/code><\/pre><\/div>\n\n\n\n<h2 id=\"outline__6\" class=\"wp-block-heading\">\u66dc\u65e5\u3092\u53d6\u5f97\u3059\u308b<\/h2>\n\n\n\n<p>\u66dc\u65e5\u3092\u53d6\u5f97\u3057\u305f\u3044\u5834\u5408\u306f\u3001\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u6587\u5b57\u306e \u300c l (\u5c0f\u6587\u5b57\u306eL) \u300d \u3082\u3057\u304f\u306f \u300c D \u300d \u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u3010\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-php\" data-lang=\"PHP\"><code>&lt;?php\n\necho date(&#39;Y\/m\/d l&#39;), &quot;\\n&quot;;\necho date(&#39;Y\/m\/d D&#39;), &quot;\\n&quot;;\n\n?&gt;<\/code><\/pre><\/div>\n\n\n\n<p><strong>\u3010\u5b9f\u884c\u7d50\u679c\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>2025\/09\/03 Wednesday\n2025\/09\/03 Wed<\/code><\/pre><\/div>\n\n\n\n<p>\u307e\u305f\u306f\u3001\u300c w \u300d \u3067\u5404\u66dc\u65e5\u306b\u5bfe\u5fdc\u3059\u308b\u6570\u5b57\u3092\u53d6\u5f97\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>\u65e5:0 \u3001 \u6708:1 \u3001 \u706b:2 \u3001 \u6c34:3 \u3001 \u6728:4 \u3001 \u91d1:5 \u3001 \u571f:6<\/code><\/pre><\/div>\n\n\n\n<p>\u4f8b\u3048\u3070\u3001\u30b5\u30fc\u30d0\u30fc\u306b\u9001\u308b\u30d1\u30e9\u30e1\u30fc\u30bf\u306b\u6570\u5024\u3092\u4f7f\u7528\u3057\u305f\u3044\u5834\u5408\u306a\u3069\u3001\u30b1\u30fc\u30b9\u306b\u5fdc\u3058\u3066\u901a\u5e38\u306e\u66dc\u65e5\u8868\u8a18\u3068\u4f7f\u3044\u5206\u3051\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u3010\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>&lt;?php\n\n$date1 = strtotime(&#39;2020\/01\/01&#39;);\n$date2 = strtotime(&#39;2020\/01\/02&#39;);\n$date3 = strtotime(&#39;2020\/01\/03&#39;);\n\necho date(&#39;l w&#39;, $date1) . &quot;\\n&quot;;\necho date(&#39;l w&#39;, $date2) . &quot;\\n&quot;;\necho date(&#39;l w&#39;, $date3) . &quot;\\n&quot;;\n\n?&gt;<\/code><\/pre><\/div>\n\n\n\n<p><strong>\u3010\u5b9f\u884c\u7d50\u679c\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>Wednesday 3\nThursday 4\nFriday 5<\/code><\/pre><\/div>\n\n\n\n<h2 id=\"outline__7\" class=\"wp-block-heading\">\u307e\u3068\u3081<\/h2>\n\n\n\n<p>\u3044\u304b\u304c\u3067\u3057\u305f\u304b\uff1f\u4eca\u56de\u306f\u3001date\u95a2\u6570\u306e\u4f7f\u7528\u65b9\u6cd5\u306b\u3064\u3044\u3066\u89e3\u8aac\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u65e5\u6642\u306b\u95a2\u3059\u308b\u60c5\u5831\u306f\u3001\u69d8\u3005\u306a\u5834\u9762\u3067\u6d3b\u7528\u3059\u308b\u6a5f\u4f1a\u304c\u3042\u308b\u305f\u3081\u3001\u5fc5\u7136\u3068\u4f7f\u7528\u983b\u5ea6\u3082\u9ad8\u304f\u306a\u308b\u95a2\u6570\u306e1\u3064\u3067\u3059\u3002<br>\u3057\u3063\u304b\u308a\u3068\u30de\u30b9\u30bf\u30fc\u3057\u3066\u3001\u5b9f\u969b\u306e\u958b\u767a\u306b\u6d3b\u304b\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<h2 id=\"outline__8\" class=\"wp-block-heading\">PHP\u306e\u52c9\u5f37\u65b9\u6cd5\u306f\uff1f<\/h2>\n\n\n<p>\u66f8\u7c4d\u3084\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u3067\u5b66\u7fd2\u3059\u308b\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u3002\u6628\u4eca\u3067\u306f\u3001YouTube\u306a\u3069\u306e\u52d5\u753b\u30b5\u30a4\u30c8\u3084\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u30b5\u30a4\u30c8\u306a\u3069\u3082\u5145\u5b9f\u3057\u3066\u3044\u3066\u591a\u304f\u306e\u60c5\u5831\u304c\u624b\u306b\u5165\u308a\u307e\u3059\u3002<br \/>\u305d\u3057\u3066\u3001\u3088\u308a\u52b9\u7387\u7684\u306b\u77e5\u8b58\u30fb\u30b9\u30ad\u30eb\u3092\u7fd2\u5f97\u3059\u308b\u306b\u306f\u3001\u77e5\u8b58\u3092\u3064\u3051\u306a\u304c\u3089\u5b9f\u969b\u306b\u624b\u3092\u52d5\u304b\u3057\u3066\u307f\u308b\u306a\u3069\u3001\u30a4\u30f3\u30d7\u30c3\u30c8\u3068\u30a2\u30a6\u30c8\u30d7\u30c3\u30c8\u3092\u7e70\u308a\u8fd4\u3057\u3066\u3044\u304f\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002\u7279\u306b\u72ec\u5b66\u306e\u5834\u5408\u306f\u3001\u6709\u8b58\u8005\u306b\u8cea\u554f\u304c\u3067\u304d\u305f\u308a\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u3092\u3082\u3089\u3048\u308b\u3088\u3046\u306a\u74b0\u5883\u304c\u3042\u308b\u3068\u3001\u7406\u89e3\u5ea6\u304c\u6df1\u307e\u308b\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>\u305f\u3060\u3001PHP\u306b\u9650\u3089\u305a\u3001IT\u30b9\u30ad\u30eb\u3092\u8eab\u306b\u3064\u3051\u308b\u969b\u3001\u3069\u3046\u3057\u3066\u3082\u8ab2\u984c\u306b\u3076\u3064\u304b\u3063\u3066\u3057\u307e\u3046\u3053\u3068\u306f\u3042\u308a\u307e\u3059\u3088\u306d\u3002\u7279\u306b\u72ec\u5b66\u3060\u3068\u3001\u308f\u304b\u3089\u306a\u3044\u90e8\u5206\u3092\u30d7\u30ed\u306b\u8cea\u554f\u3067\u304d\u308b\u6a5f\u4f1a\u3092\u78ba\u4fdd\u3057\u306b\u304f\u304f\u3001\u30e2\u30c1\u30d9\u30fc\u30b7\u30e7\u30f3\u304c\u7d9a\u304d\u306b\u304f\u3044\u3068\u3044\u3046\u5074\u9762\u304c\u3042\u308a\u307e\u3059\u3002\u72ec\u5b66\u3067\u30e2\u30c1\u30d9\u30fc\u30b7\u30e7\u30f3\u3092\u7dad\u6301\u3059\u308b\u81ea\u4fe1\u304c\u306a\u3044\u4eba\u306b\u306f\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u3068\u3044\u3046\u624b\u3082\u3042\u308a\u307e\u3059\u3002\u8cbb\u7528\u306f\u639b\u304b\u308a\u307e\u3059\u304c\u3001\u305d\u306e\u5206\u30b9\u30ad\u30eb\u3092\u8eab\u306b\u3064\u3051\u3084\u3059\u3044\u3067\u3059\u3002\u3057\u3063\u304b\u308a\u3068\u77e5\u8b58\u30fb\u30b9\u30ad\u30eb\u3092\u7fd2\u5f97\u3057\u3066\u5b9f\u8df5\u306b\u6d3b\u304b\u3057\u305f\u3044\u3068\u3044\u3046\u4eba\u306f\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u304c\u304a\u3059\u3059\u3081\u3067\u3059\u3002<\/p>\n<p><span class=\"markerYellow\"><strong>\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u306a\u3089\u30c6\u30c3\u30af\u30de\u30cb\u30a2\u304c\u304a\u3059\u3059\u3081\uff01<\/strong><\/span><\/p>\n\n\n<img decoding=\"async\" src=\"https:\/\/web-img.rensa.jp.net\/rensa\/images\/techmania\/thumbnail\/images\/yuudou.png\" class=\"post-img\">\n\n\n<p>IT\u30b9\u30ad\u30eb\u9700\u8981\u306e\u9ad8\u307e\u308a\u3068\u3068\u3082\u306b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u3082\u5897\u3048\u307e\u3057\u305f\u3002\u3057\u304b\u3057\u3001\u3069\u306e\u30b9\u30af\u30fc\u30eb\u306b\u901a\u3046\u3079\u304d\u304b\u8ff7\u3063\u3066\u3057\u307e\u3046\u4eba\u3082\u3044\u308b\u3067\u3057\u3087\u3046\u3002\u305d\u3093\u306a\u65b9\u306b\u306f\u30c6\u30c3\u30af\u30de\u30cb\u30a2\u3092\u304a\u3059\u3059\u3081\u3057\u307e\u3059\uff01\u3053\u308c\u307e\u3067\u591a\u304f\u306eIT\u30a8\u30f3\u30b8\u30cb\u30a2\u3092\u80b2\u6210\u30fb\u8f29\u51fa\u3057\u3066\u304d\u305f\u30c6\u30c3\u30af\u30de\u30cb\u30a2\u3067\u3082\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u3092\u958b\u8b1b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<div class=\"bgBox\">\n<p><strong>\uff1c\u30c6\u30c3\u30af\u30de\u30cb\u30a2\u306e\u7279\u5fb4\uff1e<\/strong><br \/><strong>\u30fb\u305f\u3057\u304b\u306a\u80b2\u6210\u5b9f\u7e3e\u3068\u89aa\u8eab\u306a\u6559\u80b2\u3000\uff5e\u30bb\u30ab\u30f3\u30c9\u30ad\u30e3\u30ea\u30a2\u3092\u5168\u529b\u652f\u63f4\uff5e<\/strong><br \/><strong>\u30fb\u8b1b\u5e2b\u304c\u73fe\u5f79\u30a8\u30f3\u30b8\u30cb\u30a2\u3000\uff5e\u201c\u672c\u5f53\u201d\u306e\u958b\u767a\u30ce\u30a6\u30cf\u30a6\u3092\u76f4\u306b\u5b66\u3079\u308b\uff5e<\/strong><br \/><strong>\u30fb\u5c02\u5c5e\u8b1b\u5e2b\u304c\u5b66\u7fd2\u3092\u5fb9\u5e95\u30b5\u30dd\u30fc\u30c8\u3000\uff5e\u300c\u308f\u304b\u3089\u306a\u3044\u300d\u3092\u5fb9\u5e95\u89e3\u6c7a\uff5e<\/strong><br \/><strong>\u30fb\u5b9f\u52d9\u30d9\u30fc\u30b9\u3067\u30b9\u30ad\u30eb\u3092\u7fd2\u5f97\u3000\uff5e\u5b9f\u8df5\u7684\u306a\u51dd\u7e2e\u30ab\u30ea\u30ad\u30e5\u30e9\u30e0\uff5e<\/strong><\/p>\n<\/div>\n<p>\u3053\u306e\u3088\u3046\u306a\u7279\u5fb4\u3092\u6301\u3064\u30c6\u30c3\u30af\u30de\u30cb\u30a2\u306fIT\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u30b9\u30bf\u30fc\u30c8\u30e9\u30a4\u30f3\u3068\u3057\u3066\u6700\u9069\u3067\u3059\u3002<br \/>\u8a71\u3092\u805e\u304d\u305f\u3044\u30fb\u8a73\u3057\u304f\u77e5\u308a\u305f\u3044\u3068\u3044\u3046\u65b9\u306f<a href=\"https:\/\/techmania.jp\/lp\/2\" target=\"_blank\" rel=\"noopener\">\u3053\u3061\u3089<\/a>\u304b\u3089\u304a\u6c17\u8efd\u306b\u304a\u554f\u3044\u5408\u308f\u305b\u304f\u3060\u3055\u3044\u3002<\/p>","protected":false},"excerpt":{"rendered":"\u65e5\u4ed8\u3084\u6642\u523b\u306b\u95a2\u3059\u308b\u60c5\u5831\u3092\u6271\u3044\u305f\u3044\u5834\u5408\u306b\u4f7f\u7528\u3067\u304d\u308b\u95a2\u6570\u306e\u4e00\u3064\u306b\u3001\u300cdate\u300d \u95a2\u6570\u304c\u3042\u308a\u307e\u3059\u3002\u7279\u5b9a\u306e\u65e5\u6642\u306b\u3064\u3044\u3066\u306e\u60c5\u5831\u304c\u53d6\u5f97\u3067\u304d\u308b\u3060\u3051\u3067\u306a\u304f\u3001\u6307\u5b9a\u3057\u305f\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u306b\u57fa\u3065\u3044\u3066\u6587\u5b57\u5217\u3092\u6574\u5f62\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u4fbf\u5229\u306a\u95a2\u6570\u3067\u3059\u3002 \u4eca\u56de\u306e\u8a18\u4e8b\u3067\u306f\u3001date\u95a2\u6570\u306e\u5177\u4f53\u7684\u306a\u4f7f\u7528\u65b9\u6cd5\u306b\u3064\u3044\u3066\u89e3\u8aac\u3057\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002 PHP\u306edate\u95a2\u6570\u3068\u306f\uff1f date\u95a2\u6570\u306f\u3001\u65e5\u4ed8\u3084\u6642\u523b\u3092\u4efb\u610f\u306e\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3067\u53d6\u5f97\u3059\u308b\u305f\u3081\u306e\u95a2\u6570\u3067\u3059\u3002 [&hellip;]","protected":false},"author":11,"featured_media":9846,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"fifu_image_url":"https:\/\/web-img.rensa.jp.net\/rensa\/images\/techmania\/thumbnail\/images\/php-date.webp","fifu_image_alt":"\u3010PHP\u5165\u9580\u3011date\u95a2\u6570\u306e\u4f7f\u3044\u65b9\u3068\u65e5\u4ed8\u306e\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3092\u89e3\u8aac","footnotes":""},"categories":[15],"tags":[],"class_list":["post-9837","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-programming"],"_links":{"self":[{"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/posts\/9837","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/comments?post=9837"}],"version-history":[{"count":1,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/posts\/9837\/revisions"}],"predecessor-version":[{"id":9845,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/posts\/9837\/revisions\/9845"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/media\/9846"}],"wp:attachment":[{"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/media?parent=9837"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/categories?post=9837"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/tags?post=9837"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}