<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>LimeCode</author_name>
  <author_url>https://blog.hatena.ne.jp/LimeCode/</author_url>
  <blog_title>和風スパゲティのレシピ</blog_title>
  <blog_url>https://www.limecode.jp/</blog_url>
  <categories>
    <anon>日付・時刻</anon>
    <anon>基本の書き方</anon>
    <anon>シート関数・VBA関数</anon>
    <anon>VBA</anon>
  </categories>
  <description>現在の日時を取得する方法を解説します。Date/Time/Now関数を使用します。日付・時刻ともに「Date型」で取得されますので、 テキストとして扱いたい場合はFormat関数を利用します。 基本構文 サンプルコード 日付型としてそのまま使用する 文字列型として好きな形式にして使用する 解説 基本構文 Dim 本日の日付 As Date 本日の日付 = Date Dim 現在時刻 As Date 現在時刻 = Time Dim 現在の日時 As Date 現在の日時 = Now サンプルコード 日付型としてそのまま使用する ' n日後などの計算 Dim 期限日 As Date 期限日 = D…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.limecode.jp%2Fentry%2Fsyntax%2Fdate-time-now&quot; title=&quot;現在の日時を取得する - Date/Time/Now関数 - 和風スパゲティのレシピ&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.user.blog.st-hatena.com/default_entry_og_image/154743825/1575205807164226</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-11-03 23:41:12</published>
  <title>現在の日時を取得する - Date/Time/Now関数</title>
  <type>rich</type>
  <url>https://www.limecode.jp/entry/syntax/date-time-now</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
