<html>
<head>
<link href="mmres://user_interface_reference.css" rel="stylesheet" type="text/css">
<title>DATEFORMAT</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">DATEFORMAT</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>
č̓tgpētl`ݒ肵܂BۓIȓtgpꍇ́ALSDateFormat 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">߂l</span>
<p>
w肵}XNɉČ`ݒ肳ꂽAt\B}XNw肵ȂƁAdd-mmm-yy ̌`̒lԂ܂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">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>DateFormat(&quot;date&quot; [, &quot;mask&quot; ])
</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>
NowACreateDateALSDateFormatALSParseDateTimeALSTimeFormatATimeFormatAParseDateTime
</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">qXg</span>
<p>
ColdFusion&#160;MX: ȉ mask p[^IvVɑΉ : shortAmediumAlongA fullB 
</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>
tIuWFNg𕶎ƂēnƂ́ÃIuWFNgpň͂ޕKv܂Bpň͂܂ȂꍇÃIuWFNg͓tIuWFNg̐l\Ƃĉ߂܂B
</p>
<table>
  <tr valign="top">
    <td width="30"><strong>: </strong></td>
    <td>CreateDate ֐܂ Now ֐̊֐ date p[^ƂēnƂł܂B : #DateFormat(CreateDate(2001, 3, 3))#</td>
  </tr>
</table>
<p>
tю̌`ݒ肷֐gpȂƁAf[^x[XNG[̌ʂ̓tю́Ȁƌ`΂΂ɂȂ\܂B\ꂽtюAvP[Ṽ[U[ł悤ɂ邽߁Å֐ƁALSDateFormatATimeFormatA LSTimeFormat ֐gpāAʃZbg̒l`ݒ肷邱Ƃ߂܂BƏڍׂɂẮA Web TCg www.coldfusion.com/Support/KnowledgeBase/SearchForm.cfm</a>  TechNote 22183AuColdFusion Server (5 and 4.5.x) with Oracle: Formatting Date and Time Query ResultsvQƂĂB 
</p>
<table>
  <tr valign="top">
    <td width="30"><strong>: </strong></td>
    <td>DateFormat ֐́A͌`ł͂Ȃo͌`ݒ肷ꍇɓK֐łB͌`ݒ肷ꍇ́At̍쐬֐ (CreateDate Ȃ) gpĂB</td>
  </tr>
</table>    </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;cfset todayDate = Now()&gt;
&lt;body&gt;
&lt;h3&gt;DateFormat ̗&lt;/h3&gt;
&lt;p&gt;̓t : &lt;cfoutput&gt;#todayDate#&lt;/cfoutput&gt;
&lt;p&gt;DateFormat gpƁA܂܂ȕ@œt\ł܂B
&lt;cfoutput&gt;
&lt;ul&gt;
   &lt;li&gt;#DateFormat(todayDate)#
   &lt;li&gt;#DateFormat(todayDate, &quot;mmm-dd-yyyy&quot;)#
   &lt;li&gt;#DateFormat(todayDate, &quot;mmmm d, yyyy&quot;)#
   &lt;li&gt;#DateFormat(todayDate, &quot;mm/dd/yyyy&quot;)#
   &lt;li&gt;#DateFormat(todayDate, &quot;d-mmm-yyyy&quot;)#   
   &lt;li&gt;#DateFormat(todayDate, &quot;ddd, mmmm dd, yyyy&quot;)#   
   &lt;li&gt;#DateFormat(todayDate, &quot;short&quot;)#
   &lt;li&gt;#DateFormat(todayDate, &quot;medium&quot;)#
   &lt;li&gt;#DateFormat(todayDate, &quot;long&quot;)#
   &lt;li&gt;#DateFormat(todayDate, &quot;full&quot;)#
&lt;/ul&gt;
&lt;/cfoutput&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>tIuWFNgłBl͈̔͂͐ 100 ` 9999 NłB


  </td>
  </tr>
  </table>
</div>
<div id="MASK">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">MASK</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>ColdFusion œt\Ɏgp镶łB
<ul>

<li>d: ŕ\łB1 ̏ꍇ͐擪 0 t܂B </li>

<li>dd: ŕ\łB1 ̏ꍇ͐擪 0 t܂B </li>

<li>ddd: 3 ɒZkĕ\jłB </li>

<li>dddd: ÂZkȂŕ\jłB </li>

<li>m: ŕ\łB1 ̏ꍇ͐擪 0 t܂B </li>

<li>mm: ŕ\łB1 ̏ꍇ͐擪 0 t܂B </li>

<li>mmm: 3 ɒZkĕ\łB </li>

<li>mmmm: ÂZkȂŕ\łB </li>

<li>yy:  2 ̐ŕ\NłB1 ̏ꍇ͐擪 0 t܂B</li>

<li>yyyy: 4 ̐ŕ\NłB </li>

<li>gg: エыI\łB܂B̒l͗\񂳂Ă܂B<br>ȉ̃}XŃAtŜ̌`ݒw肷̂łB̃}XNƑgݍ킹邱Ƃ͂ł܂B</li>

<li>short:  m/d/y ƓłB</li>

<li>medium:  mmm d, yyyy ƓłB</li>

<li>long:  mmmm d, yyyy ƓłB</li>

<li>full:  dddd, mmmm d, yyyy ƓłB</li>
</ul>


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

  </body>
</html>
