<html>
<head>
<link href="mmres://user_interface_reference.css" rel="stylesheet" type="text/css">
<title>CREATEDATETIME</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">CREATEDATETIME</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>
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>
t̒l
</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>CreateDateTime(year, month, day, hour, minute, second)
</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>
CreateDateACreateTimeACreateODBCDateTimeANowAwColdFusion MX JKChx̑3͂́uColdFusion ϐ̎gpv ́uODBC T|[gĂȂꍇ̓t֐уNG[v
</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"></span><pre>&lt;h3&gt;CreateDateTime ̗&lt;/h3&gt;

&lt;CFIF IsDefined(&quot;form.year&quot;)&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;createdatetime.cfm&quot; METHOD=&quot;POST&quot;&gt;
&lt;p&gt;tƂĕ\NAAѓ𐮐`œ͂ĂB
&lt;PRE&gt;
N   &lt;CFINPUT TYPE=&quot;Text&quot; NAME=&quot;year&quot; VALUE=&quot;1998&quot; VALIDATE=&quot;integer&quot;
      REQUIRED=&quot;Yes&quot;&gt;
   &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="YEAR">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">YEAR</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>0 ` 9999 ͈̔͂̐łB0 ` 29 ͈̔͂̐ 2000 ` 2029 ɕϊ܂B30 ` 99 
͈̔͂̐ 1930 ` 1999 ɕϊ܂B 100 NO̓t͎wł܂B


  </td>
  </tr>
  </table>
</div>
<div id="MONTH">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">MONTH</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>1 (1 ) ` 12 (12 ) ͈̔͂̐łB


  </td>
  </tr>
  </table>
</div>
<div id="DAY">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">DAY</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>1 ` 31 ͈̔͂̐łB


  </td>
  </tr>
  </table>
</div>
<div id="HOUR">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">HOUR</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>0 ` 23 ͈̔͂̐łB


  </td>
  </tr>
  </table>
</div>
<div id="MINUTE">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">MINUTE</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>0 ` 59 ͈̔͂̐łB


  </td>
  </tr>
  </table>
</div>
<div id="SECOND">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">SECOND</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>0 ` 59 ͈̔͂̐łB


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

  </body>
</html>
