<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>wata_d</author_name>
  <author_url>https://blog.hatena.ne.jp/wata_d/</author_url>
  <blog_title>閑古鳥</blog_title>
  <blog_url>https://www.little-cuckoo.jp/</blog_url>
  <categories>
    <anon>Haskell</anon>
    <anon>programming</anon>
  </categories>
  <description>標準ライブラリの Time モジュールを使用すると日時の操作ができる。 module Main where import Time import Ix main = do c &gt;= toCalendarTime) putStrLn $ show (ctYear c) ++ &quot;-&quot; ++ show ( (index(January, December) (ctMonth c)) + 1) ++ &quot;-&quot; ++ show (ctDay c) 実行すると、 2006-2-12 みたいな文字列が出力される。たったこれだけのコードを書くのにやたら時間がかかっています。……あ、かっこを 2 つ続けて書くとは…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.little-cuckoo.jp%2Fentry%2F20060212%2F1139718764&quot; title=&quot;今日の日付を取得 - 閑古鳥&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>2006-02-12 13:32:44</published>
  <title>今日の日付を取得</title>
  <type>rich</type>
  <url>https://www.little-cuckoo.jp/entry/20060212/1139718764</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
