<html>
<head>
<link href="mmres://user_interface_reference.css" rel="stylesheet" type="text/css">
<title>CREATEODBCDATE</title>
</head>
<body bgcolor="#FFFFFF" text="#000000">
   <div id="">
   <table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
      <tr> 
         <td valign="top" class="name">CREATEODBCDATE</td>
         <td valign="top" nowrap class="compatibility">&nbsp;</td>
      </tr>
      <tr>
         <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
      </tr>


    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title"></span>
<p>
ODBC ̓tIuWFNg쐬܂B
</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">߂l</span>
<p>
ODBC ̕Wt`̓tIuWFNg
</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">JeS</span>
<p>
tю֐
</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">֐̃V^bNX</span><pre>CreateODBCDate(date)
</pre>    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">֘A</span>
<p>
CreateDateACreateODBCDateTime
</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">p[^</span>
<p>

</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">gp@</span>
<p>
̊֐́Al̉͂mF͍s܂Btmɐ͂邽 (Ƃ΁A//Nƌ//NƂōȂ)ADateFormat ֐ mm-dd-yyyy ̃}XNgpāA͂t 3 ̗vfɕĉ͂邱Ƃ߂܂Bł͓K؂Ȕ͈͓̒lgp悤ɂĂBƂ΁A̒lmFɂ́AƂ validate = &quot;integer&quot;  range = &quot;1,12&quot; gp܂B 
</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title"></span><pre>&lt;h3&gt;CreateODBCDate ̗&lt;/h3&gt;
&lt;CFIF IsDefined(&quot;form.year&quot;)&gt;
&lt;p&gt;CreateDateTime Őꂽtl :
&lt;CFSET yourDate = CreateDateTime(form.year, form.month, form.day, form.hour,
form.minute, form.second)&gt;
&lt;cfoutput&gt;
&lt;ul&gt;
   &lt;li&gt;CreateDate Őݒ肵` :#CreateDate(form.year, form.month, form.day)#
   &lt;li&gt;CreateDateTime Őݒ肵` : 
      #CreateDateTime(form.year, form.month, form.day, form.hour, form.minute,
form.second)#
   &lt;li&gt;CreateODBCDate Őݒ肵` :#CreateODBCDate(yourDate)#
   &lt;li&gt;CreateODBCDateTime Őݒ肵` :#CreateODBCDateTime(yourDate)#
&lt;/ul&gt;
&lt;p&gt;lADateFormat Ō`ݒł܂B
&lt;ul&gt;
   &lt;li&gt;CreateDate  DateFormat Őݒ肵` : 
      #DateFormat(CreateDate(form.year,form.month, form.day), &quot;mmm-dd-yyyy&quot;)#
   &lt;li&gt;CreateDateTime  DateFormat Őݒ肵` : 
      #DateFormat(CreateDateTime(form.year, form.month, form.day, form.hour,
form.minute, form.second))#
   &lt;li&gt;CreateODBCDate  DateFormat Őݒ肵` : 
      #DateFormat(CreateODBCDate(yourDate), &quot;mmmm d, yyyy&quot;)#
   &lt;li&gt;CreateODBCDateTime  DateFormat Őݒ肵` : 
      #DateFormat(CreateODBCDateTime(yourDate), &quot;d/m/yy&quot;)#
&lt;/ul&gt;
&lt;/cfoutput&gt;
&lt;/CFIF&gt;
&lt;CFFORM ACTION=&quot;createodbcdate.cfm&quot; METHOD=&quot;POST&quot;&gt;
&lt;p&gt;NAAѓ𐮐œ͂܂B
&lt;PRE&gt;
Year      &lt;CFINPUT TYPE=&quot;Text&quot; NAME=&quot;year&quot; VALUE=&quot;1998&quot; VALIDATE=&quot;integer&quot; 
      REQUIRED=&quot;Yes&quot;&gt;
Month      &lt;CFINPUT TYPE=&quot;Text&quot; NAME=&quot;month&quot; VALUE=&quot;6&quot; RANGE=&quot;1,12&quot; 
      MESSAGE=&quot; (1 ` 12) ͂ĂB&quot; VALIDATE=&quot;integer&quot; 
      REQUIRED=&quot;Yes&quot;&gt;
       &lt;CFINPUT TYPE=&quot;Text&quot; NAME=&quot;day&quot; VALUE=&quot;8&quot; RANGE=&quot;1,31&quot; 
      MESSAGE=&quot; (1 ` 31) ͂ĂB&quot; VALIDATE=&quot;integer&quot;
      REQUIRED=&quot;Yes&quot;&gt;
       &lt;CFINPUT TYPE=&quot;Text&quot; NAME=&quot;hour&quot; VALUE=&quot;16&quot; RANGE=&quot;0,23&quot; 
      MESSAGE=&quot; (0 ` 23) ͂ĂB&quot; VALIDATE=&quot;integer&quot;
      REQUIRED=&quot;Yes&quot;&gt;
       &lt;CFINPUT TYPE=&quot;Text&quot; NAME=&quot;minute&quot; VALUE=&quot;12&quot; RANGE=&quot;0,59&quot; 
      MESSAGE=&quot; (0 ` 59) ͂ĂB&quot; VALIDATE=&quot;integer&quot;
      REQUIRED=&quot;Yes&quot;&gt;
b       &lt;CFINPUT TYPE=&quot;Text&quot; NAME=&quot;second&quot; VALUE=&quot;0&quot; RANGE=&quot;0,59&quot; 
      MESSAGE=&quot;b (0 ` 59) ͂ĂB&quot; VALIDATE=&quot;integer&quot;
      REQUIRED=&quot;Yes&quot;&gt;
&lt;/PRE&gt;
&lt;p&gt;&lt;INPUT TYPE=&quot;Submit&quot; NAME=&quot;&quot;&gt; &lt;INPUT TYPE=&quot;RESET&quot;&gt;
&lt;/cfform&gt;
</pre>
         </td>
      </tr>
   </table>
   </div>
<div id="DATE">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">DATE</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

 </td>
  </tr>
  <tr>
    <td>t܂͓tIuWFNgłBl͈̔͂͐ 100 ` 9999 NłB


  </td>
  </tr>
  </table>
</div>

  </body>
</html>
