<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>y_hakoiri</author_name>
  <author_url>https://blog.hatena.ne.jp/y_hakoiri/</author_url>
  <blog_title>箱のプログラミング日記。</blog_title>
  <blog_url>https://www.y-hakopro.com/</blog_url>
  <categories>
    <anon>bash</anon>
  </categories>
  <description>最近bashで色々試してみるのにハマっている。 $ date 2021年 4月 4日 日曜日 16時43分52秒 JST dateコマンドは現在時刻を表示する。 フォーマットを指定したいときは $ date +'%Y%m%d%H%M%S' 20210404191221 $ date +'%Y/%m/%d %T' 2021/04/04 19:14:18 引数に+とフォーマットを渡す。 その他フォーマットについては下記参照 日付を取得する | UNIX &amp; Linux コマンド・シェルスクリプト リファレンス 変数に代入してみる $ cat date_test.sh #!/bin/bash DAT…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.y-hakopro.com%2Fentry%2Fbash_date_format&quot; title=&quot;bashでdateコマンドのフォーマットを指定する - 箱のプログラミング日記。&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/y/y_hakoiri/20191102/20191102121618.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-04-04 19:20:41</published>
  <title>bashでdateコマンドのフォーマットを指定する</title>
  <type>rich</type>
  <url>https://www.y-hakopro.com/entry/bash_date_format</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
