<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>na_ah</author_name>
  <author_url>https://blog.hatena.ne.jp/na_ah/</author_url>
  <blog_title>na_ahのブログ</blog_title>
  <blog_url>https://na-ah.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>はじめに こんにちは！ 今回は new Date() の挙動についてまとめていきます。 JavaScriptは日付の扱いに癖があると言われますが、その原因の一端はこのnew Date()にあると思います。 new Date()の挙動をしっかり理解して、うまく付き合っていきましょう！ 日付オブジェクトの生成 (new Date) 日付オブジェクトを生成するには new Date() を用いる new Date は内部的には UTC しか扱えない 1970-01-01T00:00:00Z（UNIX時間）からの経過ミリ秒を保持する タイムゾーンは保持しない（内部的にタイムゾーンの概念はない） タイム…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fna-ah.hatenablog.com%2Fentry%2F2025%2F05%2F20%2F235608&quot; title=&quot;もう迷わない！JavaScript日付とタイムゾーンの扱い方 #2 - new Date() の挙動を正しく理解する - na_ahのブログ&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-05-20 23:56:08</published>
  <title>もう迷わない！JavaScript日付とタイムゾーンの扱い方 #2 - new Date() の挙動を正しく理解する</title>
  <type>rich</type>
  <url>https://na-ah.hatenablog.com/entry/2025/05/20/235608</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
