<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tacamy</author_name>
  <author_url>https://blog.hatena.ne.jp/tacamy/</author_url>
  <blog_title>tacamy--blog</blog_title>
  <blog_url>https://tacamy.hatenablog.com/</blog_url>
  <categories>
    <anon>JavaScript</anon>
  </categories>
  <description>Movable Type で日付のフォーマットをいじりたいときには、% を使って簡単に設定できます。 例えば、「2013年03月14日 (月)」と表示したいときは、次のように指定します。 &lt;$MTDate format=&quot;%Y年%m月%d日 (%a)&quot;$&gt; 詳しくは、日付に関するテンプレートタグのモディファイアリファレンス を参照。 その感覚で、JavaScript でも同じようなことできると思っていたら、そういうものは無いらしい。 なので、自分でフォーマットを整形したいときは、次のように指定します。 // 今日の日付で Date オブジェクトを作成 var now = new Date();…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftacamy.hatenablog.com%2Fentry%2F2013%2F03%2F14%2F220831&quot; title=&quot;JavaScript で日付のフォーマットを整形する - tacamy--blog&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>2013-03-14 22:08:31</published>
  <title>JavaScript で日付のフォーマットを整形する</title>
  <type>rich</type>
  <url>https://tacamy.hatenablog.com/entry/2013/03/14/220831</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
