<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body><section><h1>旧<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">Visual Basic</anchor> の <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">Date</anchor> 型</h1><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="7" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[7]</anchor-end> 
<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">Microsoft</anchor> 社の言語環境である <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">Visual Basic</anchor>
(<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">VB6</anchor> およびそれ以前)
で<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">日付</anchor>や<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">時刻</anchor>を扱う型である <code class="VB" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">Date</anchor></code> 型の実体は<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">浮動小数点型</anchor>で、<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">整数部</anchor>で<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">日付</anchor>,
<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">小数部</anchor>で<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">時刻</anchor>を表します。</p></section><section><h1>メモ</h1><figure class="quote"><figcaption><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="1" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[1]</anchor-end> <cite xml:lang="en">DateTime Structure (System)</cite>
(<time>2017-06-01 22:11:09 +09:00</time>)
<anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="https://msdn.microsoft.com/en-us/library/system.datetime(v=vs.110).aspx">https://msdn.microsoft.com/en-us/library/system.datetime(v=vs.110).aspx</anchor-external></figcaption><blockquote><p>The DateTime value type represents dates and times with values ranging from 00:00:00 (midnight), January 1, 0001 Anno Domini (Common Era) through 11:59:59 P.M., December 31, 9999 A.D. (C.E.) in the Gregorian calendar.</p><p>Time values are measured in 100-nanosecond units called ticks, and a particular date is the number of ticks since 12:00 midnight, January 1, 0001 A.D. (C.E.) in the GregorianCalendar  calendar (excluding ticks that would be added by leap seconds). For example, a ticks value of 31241376000000000L represents the date, Friday, January 01, 0100 12:00:00 midnight. A DateTime value is always expressed in the context of an explicit or default calendar.</p></blockquote></figure><figure class="quote"><figcaption><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="2" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[2]</anchor-end> <cite xml:lang="en">DateTime Structure (System)</cite>
(<time>2017-06-01 22:12:12 +09:00</time>)
<anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="https://msdn.microsoft.com/en-us/library/system.datetime(v=vs.110).aspx">https://msdn.microsoft.com/en-us/library/system.datetime(v=vs.110).aspx</anchor-external></figcaption><blockquote><p>Starting with the .NET Framework 2.0, the DateTime structure contains a 64-bit field composed of a private Kind field concatenated with the Ticks field. The Kind field is a 2-bit field that indicates whether the DateTime structure represents a local time, a Coordinated Universal Time (UTC), or the time in an unspecified time zone. The Kind field is used when performing time conversions between time zones, but not for time comparisons or arithmetic. The value of the Kind field can be obtained with the Kind property.</p></blockquote></figure><figure class="quote"><figcaption><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="3" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[3]</anchor-end> <cite xml:lang="ja">日付型 (Date) (Visual Basic)</cite>
(<time>2018-05-13 00:30:04 +09:00</time>)
<anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="https://msdn.microsoft.com/ja-jp/library/3eaydw6e(v=vs.120).aspx">https://msdn.microsoft.com/ja-jp/library/3eaydw6e(v=vs.120).aspx</anchor-external></figcaption><blockquote><p>IEEE 64 ビット (8 バイト) の整数として格納され、西暦 0001 年 1 月 1 日から西暦 9999 年 12 月 31 日までの日付と、午前 12:00:00 から午後 11:59:59.9999999 までの時刻を表します。 増分は、グレゴリオ暦の西暦 1 年 1 月 1 日からの経過時間の 100 ナノ秒を表します。 最大値は、西暦 10000 年 1 月 1 日の 100 ナノ秒前です。</p></blockquote></figure><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="4" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[4]</anchor-end> <cite xml:lang="en-us">DateTime Struct (System) | Microsoft Docs</cite>, <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">dotnet-bot</anchor>, <time>2021-01-16T07:23:05.000Z</time> <anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="https://docs.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0">https://docs.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0</anchor-external></p><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="5" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[5]</anchor-end> <cite xml:lang="en-us">Compare DateTime, DateTimeOffset, TimeSpan, and TimeZoneInfo | Microsoft Docs</cite>, <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">adegeo</anchor>, <time>2021-01-16T07:27:46.000Z</time> <anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="https://docs.microsoft.com/en-us/dotnet/standard/datetime/choosing-between-datetime">https://docs.microsoft.com/en-us/dotnet/standard/datetime/choosing-between-datetime</anchor-external></p><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="6" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[6]</anchor-end> <cite xml:lang="en">Introduce Date and Time only structs · Issue #49036 · dotnet/runtime · GitHub</cite>, <time>2021-06-05T12:16:42.000Z</time> <anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="https://github.com/dotnet/runtime/issues/49036">https://github.com/dotnet/runtime/issues/49036</anchor-external></p></section></body></html>