{"id":3205,"date":"2017-03-05T11:56:29","date_gmt":"2017-03-05T02:56:29","guid":{"rendered":"http:\/\/mechsys.tec.u-ryukyu.ac.jp\/~oshiro\/SiteList\/?p=3205"},"modified":"2017-03-05T11:59:58","modified_gmt":"2017-03-05T02:59:58","slug":"date%e3%82%b3%e3%83%9e%e3%83%b3%e3%83%89%e3%81%a7%e3%82%bc%e3%83%ad%e3%81%aa%e3%81%97%e5%87%ba%e5%8a%9b","status":"publish","type":"post","link":"http:\/\/mechsys.tec.u-ryukyu.ac.jp\/~oshiro\/SiteList\/2017\/03\/05\/3205\/","title":{"rendered":"date\u30b3\u30de\u30f3\u30c9\u3067\u30bc\u30ed\u306a\u3057\u51fa\u529b"},"content":{"rendered":"<p>date\u30b3\u30de\u30f3\u30c9\u3067\u65e5\u4ed8\u3092\u8868\u793a\u3057\u3088\u3046\u3068`date +%m\/%d`\u3068\u3084\u308b\u3068<\/p>\n<div class=\"hl-surround\" ><div class=\"hl-main\"><pre>$ date +%m\/%d\r\n03\/05<\/pre><\/div><\/div>\n<p>\u3068\uff11\u6841\u6570\u5b57\u306e\u5834\u5408\u306f\u3001\u30bc\u30ed\u57cb\u3081\u304c\u3055\u308c\u3066\u3057\u307e\u3046\u3002<\/p>\n<p>\u524d\u304b\u3089\u3053\u308c\u3092\u7701\u304d\u305f\u3044\u3068\u601d\u3046\u5834\u9762\u304c\u3042\u3063\u305f\u306e\u3060\u304c\u3001\u4e0d\u660e\u3067\u4ed6\u306e\u30c4\u30fc\u30eb\u3092\u4f7f\u3063\u305f\u308a\u3057\u3066\u3044\u305f\u3002<\/p>\n<p>\u6539\u3081\u3066\u691c\u7d22\u3092\u639b\u3051\u3066\u307f\u308b\u3068\u3001\u66f8\u5f0f\u6307\u5b9a\u6642\u306b\u5358\u306b&#8217;%-m\/%-d&#8217;\u306e\u3088\u3046\u306b\u30de\u30a4\u30ca\u30b9\uff08\u30cf\u30a4\u30d5\u30f3\uff09\u3092\u5165\u308c\u308c\u3070\u3044\u3044\u3060\u3051\u3068\u3044\u3046\u306e\u304c\u5224\u660e\u3057\u305f\u3002<\/p>\n<ul>\n<li><a href=\"http:\/\/qiita.com\/71713@github\/items\/63dc09faa9a5e1742c8f\">date 0\u7121\u3057 \u30d5\u30a9\u30fc\u30de\u30c3\u30c8 &#8211; Qiita<br \/>\n<\/a><\/p>\n<ul>\n<li>\u30bf\u30a4\u30c8\u30eb\u306e\u4ef6\u3001\u3050\u30fc\u3050\u308b\u5148\u751f\u306b\u304a\u5c0b\u306d\u3057\u305f\u304c\u3059\u3050\u306b\u3084\u308a\u305f\u3044\u3053\u3068\u304c\u898b\u3064\u304b\u3089\u306a\u304b\u3063\u305f\u306e\u3067\u30e1\u30e2\u3002\n<\/ul>\n<\/ul>\n<p>man date\u3067\u30c1\u30a7\u30c3\u30af\u3057\u76f4\u3059\u3068\u3001\u500b\u3005\u306e\u66f8\u5f0f\u306e\u8aac\u660e\u7b87\u6240\u3067\u306a\u304f\u3001\u6982\u8981\u7684\u306b<\/p>\n<blockquote><p>\nBy default, date  pads  numeric  fields  with  zeroes.   The  following optional flags may follow \u2018%\u2019:<br \/>\n       &#8211;      (hyphen) do not pad the field<br \/>\n       _      (underscore) pad with spaces<br \/>\n       0      (zero) pad with zeros<br \/>\n       ^      use upper case if possible<br \/>\n       #      use opposite case if possible\n<\/p><\/blockquote>\n<p>\u3068\u66f8\u304b\u308c\u3066\u3044\u305f\u3002<\/p>\n<ul>\n<li><a href=\"http:\/\/man7.org\/linux\/man-pages\/man1\/date.1.html#DESCRIPTION\">date(1) &#8211; Linux manual page<br \/>\n<\/a><\/p>\n<li><a href=\"http:\/\/unix.stackexchange.com\/questions\/180008\/how-to-represent-date-format-in-2015120-in-linux-shell\">bash &#8211; How to represent date format in &#8216;2015120&#8217; in Linux shell? &#8211; Unix &#038; Linux Stack Exchange<br \/>\n<\/a><\/p>\n<li><a href=\"http:\/\/stackoverflow.com\/questions\/17194954\/how-to-get-m-dd-yyyy-format-in-unix-as-6-19-2013-for-current-date\">How to get m_dd_yyyy format in unix as 6_19_2013 for current date &#8211; Stack Overflow<br \/>\n<\/a>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>date\u30b3\u30de\u30f3\u30c9\u3067\u65e5\u4ed8\u3092\u8868\u793a\u3057\u3088\u3046\u3068`date +%m\/%d`\u3068\u3084\u308b\u3068 $ date +%m\/%d 03\/05 \u3068\uff11\u6841\u6570\u5b57\u306e\u5834\u5408\u306f\u3001\u30bc\u30ed\u57cb\u3081\u304c\u3055\u308c\u3066\u3057\u307e\u3046\u3002 \u524d\u304b\u3089\u3053\u308c\u3092\u7701\u304d\u305f\u3044\u3068\u601d\u3046\u5834\u9762\u304c\u3042\u3063\u305f\u306e\u3060\u304c\u3001\u4e0d\u660e\u3067\u4ed6\u306e\u30c4\u30fc\u30eb [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[1],"tags":[351],"_links":{"self":[{"href":"http:\/\/mechsys.tec.u-ryukyu.ac.jp\/~oshiro\/SiteList\/wp-json\/wp\/v2\/posts\/3205"}],"collection":[{"href":"http:\/\/mechsys.tec.u-ryukyu.ac.jp\/~oshiro\/SiteList\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/mechsys.tec.u-ryukyu.ac.jp\/~oshiro\/SiteList\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/mechsys.tec.u-ryukyu.ac.jp\/~oshiro\/SiteList\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/mechsys.tec.u-ryukyu.ac.jp\/~oshiro\/SiteList\/wp-json\/wp\/v2\/comments?post=3205"}],"version-history":[{"count":3,"href":"http:\/\/mechsys.tec.u-ryukyu.ac.jp\/~oshiro\/SiteList\/wp-json\/wp\/v2\/posts\/3205\/revisions"}],"predecessor-version":[{"id":3208,"href":"http:\/\/mechsys.tec.u-ryukyu.ac.jp\/~oshiro\/SiteList\/wp-json\/wp\/v2\/posts\/3205\/revisions\/3208"}],"wp:attachment":[{"href":"http:\/\/mechsys.tec.u-ryukyu.ac.jp\/~oshiro\/SiteList\/wp-json\/wp\/v2\/media?parent=3205"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/mechsys.tec.u-ryukyu.ac.jp\/~oshiro\/SiteList\/wp-json\/wp\/v2\/categories?post=3205"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/mechsys.tec.u-ryukyu.ac.jp\/~oshiro\/SiteList\/wp-json\/wp\/v2\/tags?post=3205"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}