<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body><p><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> <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">RFC 733</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><h1>仕様書</h1><refs xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:"><ul xmlns="http://www.w3.org/1999/xhtml"><li><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="11" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[11]</anchor-end> 
<cite xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">RFC 733</anchor> - Standard for the format of ARPA network text messages</cite>, <time>2021-02-21T08:48:37.000Z</time>, <time>2021-03-10T05:53:44.618Z</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://tools.ietf.org/html/rfc733">https://tools.ietf.org/html/rfc733</anchor-external></li></ul></refs></section><section><h1>比較</h1><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="9" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[9]</anchor-end> 前の<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">RFC 724の日付形式</anchor>と比較すると、「/」区切りの数値形式の
日付が使えなくなりました。</p><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> 次の<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">RFC 822の日付形式</anchor>とかなり似ていますが、細かな点で幾つか
違いがあります。</p><figure class="list"><ul><li><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> 時刻の区切り文字「:」が省略可能</li><li><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> 時刻と時間帯の間に「-」を省略可能</li><li><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> 曜日名に長い形式を指定可能</li><li><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="8" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[8]</anchor-end> <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">時間帯を表す文字列</anchor>が RFC 822 より (RFC 724 より) 多い</li></ul></figure><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="10" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[10]</anchor-end> <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">RFC850の日付形式</anchor>や<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">HTTPの日付形式</anchor>にも採用されています。</p></section><section><h1>RFC 733 BNF</h1><figure><p><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> <pre class="ABNF code">date-time   =  [ day-of-week &quot;,&quot; ] date time

day-of-week =  &quot;Monday&quot;    / &quot;Mon&quot;  / &quot;Tuesday&quot;   / &quot;Tue&quot;
            /  &quot;Wednesday&quot; / &quot;Wed&quot;  / &quot;Thursday&quot;  / &quot;Thu&quot;
            /  &quot;Friday&quot;    / &quot;Fri&quot;  / &quot;Saturday&quot;  / &quot;Sat&quot;
            /  &quot;Sunday&quot;    / &quot;Sun&quot;

date        =  1*2DIGIT [&quot;-&quot;] month         ; day month year
               [&quot;-&quot;] (2DIGIT /4DIGIT)       ;  e.g. 20 Aug [19]77

month       =  &quot;January&quot;   / &quot;Jan&quot;  / &quot;February&quot;  / &quot;Feb&quot;
            /  &quot;March&quot;     / &quot;Mar&quot;  / &quot;April&quot;     / &quot;Apr&quot;
            /  &quot;May&quot;                / &quot;June&quot;      / &quot;Jun&quot;
            /  &quot;July&quot;      / &quot;Jul&quot;  / &quot;August&quot;    / &quot;Aug&quot;
            /  &quot;September&quot; / &quot;Sep&quot;  / &quot;October&quot;   / &quot;Oct&quot;
            /  &quot;November&quot;  / &quot;Nov&quot;  / &quot;December&quot;  / &quot;Dec&quot;

time        =  hour zone                    ; ANSI and Military
                                            ;  (seconds optional)

hour        =  2DIGIT [&quot;:&quot;] 2DIGIT [ [&quot;:&quot;] 2DIGIT ]
                                            ; 0000[00] - 2359[59]

zone        = ( [&quot;-&quot;] ( &quot;GMT&quot;               ; Relative to GMT:
                                            ; North American
                 /  &quot;NST&quot; /                 ;  Newfoundland:-3:30
                 /  &quot;AST&quot; / &quot;ADT&quot;           ;  Atlantic: - 4/ - 3
                 /  &quot;EST&quot; / &quot;EDT&quot;           ;  Eastern:  - 5/ - 4
                 /  &quot;CST&quot; / &quot;CDT&quot;           ;  Central:  - 6/ - 5
                 /  &quot;MST&quot; / &quot;MDT&quot;           ;  Mountain: - 7/ - 6
                 /  &quot;PST&quot; / &quot;PDT&quot;           ;  Pacific:  - 8/ - 7
                 /  &quot;YST&quot; / &quot;YDT&quot;           ;  Yukon:    - 9/ - 8
                 /  &quot;HST&quot; / &quot;HDT&quot;           ;  Haw/Ala   -10/ - 9
                 /  &quot;BST&quot; / &quot;BDT&quot;           ;  Bering:   -11/ -10
                    1ALPHA       ))         ; Military: Z = GMT;
                                            ;  A:-1; (J not used)
                                            ;  M:-12; N:+1; Y:+12
            / ( (&quot;+&quot; / &quot;-&quot;) 4DIGIT )        ; Local differential
                                            ;  hours/min. (HHMM)</pre></p></figure></section><section><h1>RFC 788</h1><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="12" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[12]</anchor-end> <cite xml:lang="en">RFC 788 - Simple Mail Transfer Protocol</cite>, <time>2021-01-31T15:48:31.000Z</time>, <time>2021-03-10T06:16:16.659Z</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://tools.ietf.org/html/rfc788#page-27">https://tools.ietf.org/html/rfc788#page-27</anchor-external></p></section><section><h1>歴史</h1><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> RFC 733 D.  DATES AND TIMES</figcaption><blockquote><p>If included, day-of-week must be the  day  implied  by  the  date
specification.</p></blockquote><blockquote><p>day-of-week を含める場合は、日付詳説に含まれた曜日でなければなりません。</p></blockquote><blockquote><p>Time zone  may  be  indicated  in  several  ways.   The  military
standard   uses  a  single  character  for  each  zone.   &quot;Z&quot;  is
Greenwhich Mean Time; &quot;A&quot; indicates one  hour  earlier,  and  &quot;M&quot;
indicates  12 hours earlier; &quot;N&quot; is one hour later, and &quot;Y&quot; is 12
hours later.  The letter &quot;J&quot; is not used.   The  other  remaining
two  forms  are  taken from ANSI standard X3.51-1975.  One allows
explicit indication of the amount of offset from GMT;  the  other
uses  common  3-character  strings  for  indicating time zones in
North America.</p></blockquote><blockquote><p>時間帯は幾つかの方法で示して構いません。軍規格は各帯に一文字を使っています。
&quot;Z&quot; がグリニッジ標準時で、 &quot;A&quot; は1時間早いことを示し、
&quot;M&quot; は12時間早いことを示します。 &quot;N&quot; は1時間遅いことを、
&quot;Y&quot; は12時間遅いことを示します。文字 &quot;J&quot; は使いません。
他の2つの形式は ANSI 規格 X3.51-1975 から取りました。
1つは GMT からの差の量を明示するものです。もう一つは
北米の時間帯を示す共通の3文字の文字列を使います。</p></blockquote></figure></section></body></html>