<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shuzo_kino</author_name>
  <author_url>https://blog.hatena.ne.jp/shuzo_kino/</author_url>
  <blog_title>Bye Bye Moore</blog_title>
  <blog_url>https://shuzo-kino.hateblo.jp/</blog_url>
  <categories>
    <anon>awk</anon>
  </categories>
  <description>特定の日時文字列があって、それのN時間後を知りたい事って割とありますよね。 国際標準時を日本標準時にするときとか。 実際のところ &quot;-V&quot;オプションでdateコマンドの式展開をしてやると良いです。 $ awk -vDate=&quot;`date -d'now' +'%Y/%m/%d_%H:%M:%S'`&quot; '{print Date}' 2020/01/06_18:48:49 N時間後構文も利用できます。 $ awk -vDate=&quot;`date -d'now + 100 hour' +'%Y/%m/%d_%H:%M:%S'`&quot; '{print Date}' 2020/01/10_22:48:59 参考も…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshuzo-kino.hateblo.jp%2Fentry%2F2020%2F01%2F06%2F233424&quot; title=&quot;awkでN時間後の数値を設定したいなら……？？ - Bye Bye Moore&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-01-06 23:34:24</published>
  <title>awkでN時間後の数値を設定したいなら……？？</title>
  <type>rich</type>
  <url>https://shuzo-kino.hateblo.jp/entry/2020/01/06/233424</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
