<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mtiit</author_name>
  <author_url>https://blog.hatena.ne.jp/mtiit/</author_url>
  <blog_title>(O+P)ut</blog_title>
  <blog_url>https://www.mtioutput.com/</blog_url>
  <categories>
    <anon>UNIX</anon>
    <anon>UNIX-Linux</anon>
  </categories>
  <description>やりたいこと 指定した時刻のエポックタイムを出力したい。尚、エポックタイムの出し方自体は以下。 $ date +%s 1637932318 環境情報 GNU bash, version 4.4.12 release (x86_64-unknown-cygwin) やり方 dオプション（--dateオプション）にて以下のように日付/時刻を指定する。 $ date --date &quot;2020/01/23 04:56:07&quot; +%s 1579722967以下、補足です。 補足 日付情報だけであれば文字列をそのまま入力しても通りますが $ date --date 20200123 Thu Jan 23 …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.mtioutput.com%2Fentry%2Fdate-doption-time&quot; title=&quot;【Bash/Linux】dateコマンドのdオプションでの日時と時刻の指定の仕方 - (O+P)ut&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/m/mtiit/20190708/20190708105146.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-11-26 22:18:51</published>
  <title>【Bash/Linux】dateコマンドのdオプションでの日時と時刻の指定の仕方</title>
  <type>rich</type>
  <url>https://www.mtioutput.com/entry/date-doption-time</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
