{"id":770,"date":"2017-07-04T00:21:26","date_gmt":"2017-07-03T15:21:26","guid":{"rendered":"https:\/\/clouds.tokyo\/blog\/?p=770"},"modified":"2017-07-04T00:21:26","modified_gmt":"2017-07-03T15:21:26","slug":"linux_date_format","status":"publish","type":"post","link":"https:\/\/clouds.tokyo\/blog\/linux_date_format\/","title":{"rendered":"\u3010Linux\u3011\u30b7\u30a7\u30eb\u3067\u306e\u65e5\u4ed8\u306e\u66f8\u5f0f"},"content":{"rendered":"<p>PHP\u3068MySQL\u3067\u306f\u65e5\u4ed8\u306e\u66f8\u5f0f\u306f\u304b\u306a\u308a\u4f3c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/clouds.tokyo\/blog\/date_format\/\">PHP\u3068MySQL\u306e\u65e5\u4ed8\u306e\u66f8\u5f0f\u306e\u9055\u3044<\/a><\/p>\n<p>Linux\u306e\u30b7\u30a7\u30eb\u3067\u306e\u66f8\u5f0f\u3082\u591a\u304f\u306f\u4f3c\u3066\u3044\u307e\u3059\u304c\u3001<br \/>\n\u3088\u304f\u4f7f\u3046\u3068\u601d\u308f\u308c\u308b\u300c\u5206\u300d\u3084\u300c\u79d2\u300d\u304c\u9055\u3063\u3066\u3044\u308b\u306e\u3067\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<pre>\r\nY : \u5e74(4\u30b1\u30bf)\r\nm : \u6708(00\uff5e12)\r\nd : \u65e5(00\uff5e31)\r\nH : \u6642(00\uff5e23)\r\nM : \u5206(00\uff5e59) \u2190\u9055\u3046\r\nS : \u79d2(00\uff5e59) \u2190\u9055\u3046\r\n\r\ny : \u5e74(2\u30b1\u30bf)\r\nk : \u6642(0\uff5e23)\r\n<\/pre>\n<p>\u305f\u3068\u3048\u3070\u30ed\u30b0\u30d5\u30a1\u30a4\u30eb\u540d\u306b\u65e5\u6642\u3092\u5165\u308c\u305f\u3044\u5834\u5408\u306f<\/p>\n<pre>\r\n.\/script.sh > \/tmp\/script.log.`date +\\%Y\\%m\\%d\\%H\\%M\\%S` 2>&1\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>PHP\u3068MySQL\u3067\u306f\u65e5\u4ed8\u306e\u66f8\u5f0f\u306f\u304b\u306a\u308a\u4f3c\u3066\u3044\u307e\u3059\u3002 PHP\u3068MySQL\u306e\u65e5\u4ed8\u306e\u66f8\u5f0f\u306e\u9055\u3044 Linux\u306e\u30b7\u30a7\u30eb\u3067\u306e\u66f8\u5f0f\u3082\u591a\u304f\u306f\u4f3c\u3066\u3044\u307e\u3059\u304c\u3001 \u3088\u304f\u4f7f\u3046\u3068\u601d\u308f\u308c\u308b\u300c\u5206\u300d\u3084\u300c\u79d2\u300d\u304c\u9055\u3063\u3066\u3044\u308b\u306e\u3067\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002 Y : \u5e74( &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/clouds.tokyo\/blog\/linux_date_format\/\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;\u3010Linux\u3011\u30b7\u30a7\u30eb\u3067\u306e\u65e5\u4ed8\u306e\u66f8\u5f0f&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"_jetpack_newsletter_access":""},"categories":[2],"tags":[56,81,95,305],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pezW3u-cq","jetpack-related-posts":[{"id":732,"url":"https:\/\/clouds.tokyo\/blog\/date_format\/","url_meta":{"origin":770,"position":0},"title":"\u3010PHP\u3011\u3010MySQL\u3011\u65e5\u4ed8\u306e\u66f8\u5f0f\u306e\u9055\u3044","author":"yamamoto","date":"2017\u5e745\u670825\u65e5","format":false,"excerpt":"PHP\u3068MySQL\u3067\u65e5\u4ed8\u306e\u66f8\u5f0f\u304c\u82e5\u5e72\u9055\u3063\u3066\u3044\u307e\u3059\u3002 \u3069\u3061\u3089\u304b\u3057\u304b\u4f7f\u308f\u306a\u3044\u3068\u6c7a\u3081\u3066\u3044\u308b\u306a\u3089\u3044\u3044\u306e\u3067\u3059\u304c\u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":539,"url":"https:\/\/clouds.tokyo\/blog\/mysql_date\/","url_meta":{"origin":770,"position":1},"title":"\u3010MySQL\u3011SQL\u3067\u65e5\u4ed8\u8a08\u7b97","author":"yamamoto","date":"2008\u5e749\u67089\u65e5","format":false,"excerpt":"SQL\u4e0a\u3067\u65e5\u4ed8\u3092\u8a08\u7b97\u3059\u308b\u66f8\u5f0f\u3001\u305f\u307e\u306b\u4f7f\u304a\u3046\u3068\u3059\u308b\u3068\u5fd8\u308c\u3066\u307e\u3059\u3088\u306d\u3002 \u3068\u308a\u3042\u3048\u305aDATE_ADD\u3060\u3051\u899a\u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":646,"url":"https:\/\/clouds.tokyo\/blog\/mysql_add_col\/","url_meta":{"origin":770,"position":2},"title":"\u3010MySQL\u3011\u30c6\u30fc\u30d6\u30eb\u306b\u30ab\u30e9\u30e0\u3092\u8ffd\u52a0\u3059\u308b","author":"yamamoto","date":"2012\u5e747\u670819\u65e5","format":false,"excerpt":"MySQL\u3067\u30c6\u30fc\u30d6\u30eb\u306b\u30ab\u30e9\u30e0\u3092\u5f8c\u304b\u3089\u8ffd\u52a0\u3059\u308b\u3068\u304d\u306e\u66f8\u5f0f\u3092\u3059\u3050\u5fd8\u308c\u308b\u306e\u3067\u30e1\u30e2\u3002 \u30c6\u30fc\u30d6\u30eb\u306e\u672b\u5c3e\u306b\u8ffd\u52a0 \u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":149,"url":"https:\/\/clouds.tokyo\/blog\/vi_replace\/","url_meta":{"origin":770,"position":3},"title":"\u3010Linux\u3011vi\u3067\u3064\u3044\u5fd8\u308c\u308b\u7f6e\u63db\u306e\u66f8\u5f0f","author":"yamamoto","date":"2010\u5e747\u670831\u65e5","format":false,"excerpt":"vi\u3067\u306e\u30c6\u30ad\u30b9\u30c8\u306e\u7f6e\u63db\u306f\u30de\u30a6\u30b9\u3092\u4f7f\u308f\u305a\u306b\u3067\u304d\u308b\u305f\u3081\u3001\u6163\u308c\u308b\u3068\u975e\u5e38\u306b\u7d20\u65e9\u304f\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 \u3057\u304b\u3057\u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":55,"url":"https:\/\/clouds.tokyo\/blog\/scp_wildcard\/","url_meta":{"origin":770,"position":4},"title":"\u3010Linux\u3011\u30ef\u30a4\u30eb\u30c9\u30ab\u30fc\u30c9\u3092\u4f7f\u3063\u305fscp\u30d5\u30a1\u30a4\u30eb\u8ee2\u9001","author":"yamamoto","date":"2005\u5e747\u67086\u65e5","format":false,"excerpt":"scp\u30b3\u30de\u30f3\u30c9\u81ea\u4f53\u3001\u4e45\u3057\u3076\u308a\u306b\u4f7f\u3046\u3068\u66f8\u5f0f\u3092\u5fd8\u308c\u304c\u3061\u3067\u3059\u304c\u3001 \u30ef\u30a4\u30eb\u30c9\u30ab\u30fc\u30c9\u300c\uff0a\u300d\u3092\u4f7f\u3063\u3066\u8ee2\u9001\u3059\u308b\u30d5\u30a1\u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":704,"url":"https:\/\/clouds.tokyo\/blog\/php_date\/","url_meta":{"origin":770,"position":5},"title":"\u3010PHP\u3011\u5e74\u9593\u4f1a\u54e1\u30b7\u30b9\u30c6\u30e0\u306e\u958b\u59cb\u65e5\u3068\u7d42\u4e86\u65e5\u3092\u6c42\u3081\u308b","author":"yamamoto","date":"2017\u5e744\u670827\u65e5","format":false,"excerpt":"\u5e74\u9593\u4f1a\u54e1\u306e\u4ed5\u7d44\u307f\u3092\u4f5c\u3063\u3066\u3044\u3066 \u4f1a\u54e1\u306e\u6709\u52b9\u671f\u9593\u3092\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u767b\u9332\u3059\u308b\u3068\u3057\u307e\u3059\u3002 \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u767b\u9332\u5f8c\u306b\u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/posts\/770"}],"collection":[{"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/comments?post=770"}],"version-history":[{"count":1,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/posts\/770\/revisions"}],"predecessor-version":[{"id":771,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/posts\/770\/revisions\/771"}],"wp:attachment":[{"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/media?parent=770"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/categories?post=770"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/tags?post=770"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}