<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>coffee_kabu</author_name>
  <author_url>https://blog.hatena.ne.jp/coffee_kabu/</author_url>
  <blog_title>Bus errorとSegmentation faultに困ったら見るブログ</blog_title>
  <blog_url>https://coffee-guhaw.hateblo.jp/</blog_url>
  <categories>
    <anon>python</anon>
  </categories>
  <description>参考 rcmdnk.comattack-on-fukukai.com サンプルコード from datetime import datetime, timedelta a = '2025-08-01 09:24:24.956488' datetime.strptime(a, '%Y-%m-%d %H:%M:%S.%f') ミリ秒まで含んでる時には、%fでそれを取り出すことができる これを書かないと「ミリ秒以下の成分が余っています」とエラーになるよく使うのは %Y：年 %m：月 %d：日 %H：時 %M：分 %S：秒 %f：ミリ秒 他のフォーマットについては datetime — Basic d…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcoffee-guhaw.hateblo.jp%2Fentry%2F2025%2F10%2F02%2F120000&quot; title=&quot;ミリ秒の情報を含んだ文字列をdatatime型に変換したい【python3, datetime】 - Bus errorとSegmentation faultに困ったら見るブログ&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>2025-10-02 12:00:00</published>
  <title>ミリ秒の情報を含んだ文字列をdatatime型に変換したい【python3, datetime】</title>
  <type>rich</type>
  <url>https://coffee-guhaw.hateblo.jp/entry/2025/10/02/120000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
