<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ontama123</author_name>
  <author_url>https://blog.hatena.ne.jp/ontama123/</author_url>
  <blog_title>プログラムメモ</blog_title>
  <blog_url>https://otsetuyaku.hateblo.jp/</blog_url>
  <categories>
    <anon>node</anon>
  </categories>
  <description>nodeで日付関連の操作を行う場合、 moment.jsを利用するのが、 便利です。Moment.js | Home 準備 moment.jsをインストールします。 yarn add momentor npm install moment 1. 現在の日付を取得 const moment = require('moment') const today = moment().format('YYYYMMDD') console.log(today) 2. 文字列を日付に変換 const day = moment('20190120','YYYYMMDD') console.log(day) 3.…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fotsetuyaku.hateblo.jp%2Fentry%2F2019%2F01%2F24%2F200511&quot; title=&quot;nodeの日付ライブラリmoment.jsを利用して、現在の日付を取得する - プログラムメモ&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>2019-01-24 20:05:11</published>
  <title>nodeの日付ライブラリmoment.jsを利用して、現在の日付を取得する</title>
  <type>rich</type>
  <url>https://otsetuyaku.hateblo.jp/entry/2019/01/24/200511</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
