<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>potisan</author_name>
  <author_url>https://blog.hatena.ne.jp/potisan/</author_url>
  <blog_title>potisanのプログラミングメモ</blog_title>
  <blog_url>https://potisan-programming-memo.hatenablog.jp/</blog_url>
  <categories>
    <anon>JavaScript</anon>
  </categories>
  <description>2000年以降のYYMMDD形式の文字列を日付型（Date）に変換するサンプルコードです。 function dateFrom20YYMMDD(s) { if (typeof s != &quot;string&quot;) return undefined; const m = s.match(/^(\d\d)(\d\d)(\d\d)$/) if (m == null) return undefined; const Y = parseInt(m[1]); const M = parseInt(m[2]); const D = parseInt(m[3]); return new Date(2000+Y, M,…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpotisan-programming-memo.hatenablog.jp%2Fentry%2F2021%2F09%2F06%2F010101&quot; title=&quot;JavaScript 2000年以降のYYMMDD形式の文字列を日付型に変換する - potisanのプログラミングメモ&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>2021-09-06 01:01:01</published>
  <title>JavaScript 2000年以降のYYMMDD形式の文字列を日付型に変換する</title>
  <type>rich</type>
  <url>https://potisan-programming-memo.hatenablog.jp/entry/2021/09/06/010101</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
