<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>round-rand</author_name>
  <author_url>https://blog.hatena.ne.jp/round-rand/</author_url>
  <blog_title>ランドML</blog_title>
  <blog_url>https://ml-rand-note.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>strftimeとは？ よく使う書式一覧 西暦表示：%Y、%y 月の表示：%m 日の表示：%d 日時の表示：%D、%x、%F 時間の表示：%H、%I 参考 strftimeとは？ Timeオブジェクトの日時を自由な形式の文字列に変換するためのメソッド。 例えば、「yyyy-mm-dd」の形式で表したいときは以下のように書きます。 require 'date' # 2001年2月3日 04時05分06秒 t = Time.new(2001,2,3,4,5,6,&quot;+09:00&quot;) p t.strftime(&quot;%Y-%m-%d&quot;) #=&gt; &quot;2001-02-03&quot; よく使う書式一覧 書式 意味 出力…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fml-rand-note.hatenablog.com%2Fentry%2F%2Fruby%2Fstrftime&quot; title=&quot;【Ruby】strftimeの使い方まとめ｜日時フォーマット - ランドML&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>2026-06-17 23:39:41</published>
  <title>【Ruby】strftimeの使い方まとめ｜日時フォーマット</title>
  <type>rich</type>
  <url>https://ml-rand-note.hatenablog.com/entry//ruby/strftime</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
