<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>neverjp</author_name>
  <author_url>https://blog.hatena.ne.jp/neverjp/</author_url>
  <blog_title>neverjpのぶらり日記</blog_title>
  <blog_url>https://neverjp.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>ﾋﾞﾋﾞﾊﾆﾑﾓｽｸ（写真はY.O.氏から借用） 元号特定プログラム 前に当ブログで西暦、和暦相互変換のプログラムを載せたが、今回はPowerShell_ISEで西暦年月日でその日がどの元号に当たるかを特定するプログラムである。Ad-Conversion 20190502④で関数を呼び出し結果を表示する。今回は月日も考慮する。 Function Ad-Conversion($indate){ $ERA_MEIJI = &quot;明治&quot; $ERA_TAISYOU = &quot;大正&quot; $ERA_SYOUWA = &quot;昭和&quot; $ERA_HEISEI = &quot;平成&quot; $ERA_REIWA = &quot;令和&quot; $DATE_ME…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fneverjp.hatenablog.com%2Fentry%2F2019%2F11%2F15%2F214242&quot; title=&quot;元号特定プログラム(PowerShell版) - neverjpのぶらり日記&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/n/neverjp/20191115/20191115214112.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-11-15 21:42:42</published>
  <title>元号特定プログラム(PowerShell版)</title>
  <type>rich</type>
  <url>https://neverjp.hatenablog.com/entry/2019/11/15/214242</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
