<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tera1707</author_name>
  <author_url>https://blog.hatena.ne.jp/tera1707/</author_url>
  <blog_title>tera1707’s blog</blog_title>
  <blog_url>https://tera1707.com/</blog_url>
  <categories>
    <anon>C++</anon>
  </categories>
  <description>もくじ https://tera1707.com/entry/2022/02/06/144447 やりたいこと 以前の記事で、システム時刻の取得と、それをタイムゾーンに合わせて出力する方法を調べた。 今どきは、それをもっとかっこよくやれるらしい。試してみる。 前提 C++20を使用。 ためした std::chronoを使う。 #include &lt;Windows.h&gt; #include &lt;iostream&gt; #include &lt;chrono&gt; #include &lt;format&gt; // C++20以降でないと動きません int main() { while (true) { // 現在システム時刻…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftera1707.com%2Fentry%2F2024%2F09%2F12%2F221917&quot; title=&quot; 日付時刻とタイムゾーンの取得の仕方（std::chrono使用） - tera1707’s blog&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>https://cdn-ak.f.st-hatena.com/images/fotolife/t/tera1707/20240912/20240912221832.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-09-12 22:19:17</published>
  <title> 日付時刻とタイムゾーンの取得の仕方（std::chrono使用）</title>
  <type>rich</type>
  <url>https://tera1707.com/entry/2024/09/12/221917</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
