<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:clearspace="http://www.jivesoftware.com/xmlns/jive/rss" version="2.0">
  <channel>
    <title>Adobe Community: Message List -  DateTimeFormat</title>
    <link>https://forums.adobe.com/community/coldfusion/documentation?view=discussions</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    <pubDate>Sun, 31 Mar 2013 00:32:35 GMT</pubDate>
    <generator>Jive Engage 7.0.0.1  (http://jivesoftware.com/products/)</generator>
    <dc:date>2013-03-31T00:32:35Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Re:  DateTimeFormat</title>
      <link>https://forums.adobe.com/message/5193224?tstart=0#5193224</link>
      <description>&lt;!-- [DocumentBodyStart:ab6cb9ee-e4ef-4940-9b7d-4e5dd8f8cb20] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Adobe, are you actually going to sort these docs out? Have you seen the great swathe of comments pointing out its shortcomings? Maybe - like me - you have a Flash blocker, and don't even SEE the comments by default. Why do the comments require Flash? (why, these days, does ANYTHING require Flash?)&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Other observations: there's no Category, See Also or History sections on this page.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;-- &lt;/p&gt;&lt;p&gt;Adam&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:ab6cb9ee-e4ef-4940-9b7d-4e5dd8f8cb20] --&gt;&lt;img src='/beacon?t=1415921562096' /&gt;</description>
      <pubDate>Sun, 31 Mar 2013 00:32:35 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/5193224?tstart=0#5193224</guid>
      <dc:date>2013-03-31T00:32:35Z</dc:date>
      <clearspace:dateToText>1 year 7 months ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re:  DateTimeFormat</title>
      <link>https://forums.adobe.com/message/4865607?tstart=0#4865607</link>
      <description>&lt;!-- [DocumentBodyStart:c9e47773-1c75-44a2-aeed-82f4bfb57a10] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Two of the example formats in the docs do NOT work. They are clearly from the Java docs that others linked to. But, they do not give the results you would expect.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;This:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Produces:&lt;/p&gt;&lt;p&gt;2012.11.21 AD 'P' 14:53:33 PST &lt;/p&gt;&lt;p&gt;02 oc826oc14' PM, Pacific Standard Time &lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:c9e47773-1c75-44a2-aeed-82f4bfb57a10] --&gt;</description>
      <pubDate>Wed, 21 Nov 2012 22:56:58 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/4865607?tstart=0#4865607</guid>
      <dc:date>2012-11-21T22:56:58Z</dc:date>
      <clearspace:dateToText>1 year 12 months ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re:  DateTimeFormat</title>
      <link>https://forums.adobe.com/message/4804501?tstart=0#4804501</link>
      <description>&lt;!-- [DocumentBodyStart:9cc115aa-4a35-44c6-8b75-38ce9e3ef04f] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;@Adam and @Mike,&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Good catch and you're exactly right.&amp;nbsp; I'd copied that URL from another Adobe doc.&amp;nbsp; But, now I don't know where I'd copied it from.&amp;nbsp; =P&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;-Aaron&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:9cc115aa-4a35-44c6-8b75-38ce9e3ef04f] --&gt;</description>
      <pubDate>Sat, 27 Oct 2012 07:44:09 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/4804501?tstart=0#4804501</guid>
      <dc:date>2012-10-27T07:44:09Z</dc:date>
      <clearspace:dateToText>2 years 2 weeks ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re:  DateTimeFormat</title>
      <link>https://forums.adobe.com/message/4534854?tstart=0#4534854</link>
      <description>&lt;!-- [DocumentBodyStart:e48865ae-6351-46c0-b7ee-1919c336bf09] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I was thinking the same thing!&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:e48865ae-6351-46c0-b7ee-1919c336bf09] --&gt;</description>
      <pubDate>Tue, 03 Jul 2012 01:20:36 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/4534854?tstart=0#4534854</guid>
      <dc:date>2012-07-03T01:20:36Z</dc:date>
      <clearspace:dateToText>2 years 4 months ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re:  DateTimeFormat</title>
      <link>https://forums.adobe.com/message/4528133?tstart=0#4528133</link>
      <description>&lt;!-- [DocumentBodyStart:5efecfc0-5d54-4742-a332-c12629fd7a2c] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;&lt;span&gt;Sure the link above shouldn't be pointing to an old, obsolete version of Java which CF10 doesn't even run on?&amp;nbsp; The current docs are here: &lt;/span&gt;&lt;a class="jive-link-external-small" href="http://docs.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html" rel="nofollow"&gt;http://docs.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html&lt;/a&gt;&lt;span&gt;.&amp;nbsp; They might be exactly the same (I didn't check), but linking to old dead docs is a bit thoughtless, I think&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:5efecfc0-5d54-4742-a332-c12629fd7a2c] --&gt;</description>
      <pubDate>Fri, 29 Jun 2012 09:04:59 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/4528133?tstart=0#4528133</guid>
      <dc:date>2012-06-29T09:04:59Z</dc:date>
      <clearspace:dateToText>2 years 5 months ago</clearspace:dateToText>
      <clearspace:replyCount>3</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re:  DateTimeFormat</title>
      <link>https://forums.adobe.com/message/4491277?tstart=0#4491277</link>
      <description>&lt;!-- [DocumentBodyStart:d0d9f3bb-7182-4c99-9035-14e3862b030e] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;The uppercase 'S' (Millisecond) Java date time mask pattern letter is broken in CF10.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Example: #dateTimeFormat(createDateTime(2012, 1, 2, 3, 4, 5), "s:l:S")#&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Expected result: 5:0:0&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Actual result: 5:0:5 (CF10 interprets uppercase 'S' as lowercase 's')&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;(I'll get these bugs filed btw. Just noting it here as FYI to others.)&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;-Aaron&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:d0d9f3bb-7182-4c99-9035-14e3862b030e] --&gt;</description>
      <pubDate>Thu, 14 Jun 2012 04:36:23 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/4491277?tstart=0#4491277</guid>
      <dc:date>2012-06-14T04:36:23Z</dc:date>
      <clearspace:dateToText>2 years 5 months ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re:  DateTimeFormat</title>
      <link>https://forums.adobe.com/message/4472321?tstart=0#4472321</link>
      <description>&lt;!-- [DocumentBodyStart:8686e774-69b0-4c28-a5e7-1c79e5013b74] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Notes:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;1) I wrote "gg: Period/era string." instead of "gg: Period/era string. Ignored. Reserved." b/c "gg" &lt;strong&gt;is&lt;/strong&gt; supported by dateFormat in CF10 (as I've noted in a comment on the dateFormat doc)&lt;/p&gt;&lt;p&gt;2) "ddd" and "dddd" are broken for dateTimeFormat() in CF10.&amp;nbsp; The former is currently the same as "dd" w/ 1 additional leading '0'.&amp;nbsp; The latter is currently the same as "dd" w/ 2 additional leading '0's.&amp;nbsp; (ex: for Thursday, "ddd" outputs "007" and "dddd" outputs "0007", whereas dateFormat outputs "Thu" and "Thursday" respectively.)&amp;nbsp; That's a CF10 dateTimeFormat() bug of course.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;-Aaron&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:8686e774-69b0-4c28-a5e7-1c79e5013b74] --&gt;</description>
      <pubDate>Thu, 07 Jun 2012 05:17:56 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/4472321?tstart=0#4472321</guid>
      <dc:date>2012-06-07T05:17:56Z</dc:date>
      <clearspace:dateToText>2 years 5 months ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re:  DateTimeFormat</title>
      <link>https://forums.adobe.com/message/4472319?tstart=0#4472319</link>
      <description>&lt;!-- [DocumentBodyStart:62164e32-93aa-41d6-b236-e43b0f9e4966] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;This function also uses dateFormat and timeFormat masks, except that it uses n to represent minutes (since m represents months). Therefore, for clarity, the description of the mask parameter should probably be:&lt;/p&gt;&lt;p&gt;-&lt;/p&gt;&lt;hr originalText="-------------------------------------------"/&gt;&lt;p&gt;Optional. Characters that show how ColdFusion displays a date:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - d: Day of the month as digits; no leading zero for single-digit days.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - dd: Day of the month as digits; leading zero for single-digit days.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - ddd: Day of the week as a three-letter abbreviation.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - dddd: Day of the week as its full name.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - m: Month as digits; no leading zero for single-digit months.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - mm: Month as digits; leading zero for single-digit months.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - mmm: Month as a three-letter abbreviation.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - mmmm: Month as its full name.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - yy: Year as last two digits; leading zero for years less than 10.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - yyyy: Year represented by four digits.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - gg: Period/era string.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - h: hours; no leading zero for single-digit hours (12-hour clock)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - hh: hours; leading zero for single-digit hours (12-hour clock)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - H: hours; no leading zero for single-digit hours (24-hour clock)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - HH: hours; leading zero for single-digit hours (24-hour clock)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - n: minutes; no leading zero for single-digit minutes&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - nn: minutes; a leading zero for single-digit minutes&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - s: seconds; no leading zero for single-digit seconds&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - ss: seconds; leading zero for single-digit seconds&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - l or L: milliseconds, with no leading zeros&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - t: one-character time marker string, such as A or P&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - tt: multiple-character time marker string, such as AM or PM&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The following masks tell how to format the full date and time and cannot be combined with other masks:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - short: equivalent to m/d/y h:mm tt&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - medium: equivalent to mmm d, yyyy h:mm:ss tt&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - long: medium followed by three-letter time zone; as in, mmmm d, yyyy h:mm:ss tt EST&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - full: equivalent to dddd, mmmm d, yyyy h:mm:ss tt EST&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;The function also follows Java date time mask. For details, see the section Date and Time Patterns at the following URL: &lt;/span&gt;&lt;a class="jive-link-external-small" href="http://docs.oracle.com/javase/1.4.2/docs/api/java/text/SimpleDateFormat.html" rel="nofollow"&gt;http://docs.oracle.com/javase/1.4.2/docs/api/java/text/SimpleDateFormat.html&lt;/a&gt;&lt;/p&gt;&lt;p&gt;-&lt;/p&gt;&lt;hr originalText="-------------------------------------------"/&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;-Aaron&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:62164e32-93aa-41d6-b236-e43b0f9e4966] --&gt;</description>
      <pubDate>Thu, 07 Jun 2012 05:10:16 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/4472319?tstart=0#4472319</guid>
      <dc:date>2012-06-07T05:10:16Z</dc:date>
      <clearspace:dateToText>2 years 5 months ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re:  DateTimeFormat</title>
      <link>https://forums.adobe.com/message/4465876?tstart=0#4465876</link>
      <description>&lt;!-- [DocumentBodyStart:615bcf41-9650-49a2-b5ff-c28e7d25f3a5] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;The Format pattern for MINUTES is incorrect.&lt;/p&gt;&lt;p&gt;Minutes are "NN" not "mm"&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:615bcf41-9650-49a2-b5ff-c28e7d25f3a5] --&gt;</description>
      <pubDate>Tue, 05 Jun 2012 07:07:54 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/4465876?tstart=0#4465876</guid>
      <dc:date>2012-06-05T07:07:54Z</dc:date>
      <clearspace:dateToText>2 years 5 months ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>DateTimeFormat</title>
      <link>https://forums.adobe.com/message/4465875?tstart=0#4465875</link>
      <description>&lt;!-- [DocumentBodyStart:373f68a4-7a46-4e35-80b9-33c0ec535371] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;&lt;span&gt;This question was posted in response to the following article: &lt;/span&gt;&lt;a class="jive-link-external-small" href="http://help.adobe.com/en_US/ColdFusion/10.0/CFMLRef/WSd8001ae4abdbd9112ab20a5d1350d854529-8000.html" rel="nofollow"&gt;http://help.adobe.com/en_US/ColdFusion/10.0/CFMLRef/WSd8001ae4abdbd9112ab20a5d1350d854529- 8000.html&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:373f68a4-7a46-4e35-80b9-33c0ec535371] --&gt;</description>
      <pubDate>Tue, 05 Jun 2012 07:07:54 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/4465875?tstart=0#4465875</guid>
      <dc:date>2012-06-05T07:07:54Z</dc:date>
      <clearspace:dateToText>2 years 5 months ago</clearspace:dateToText>
      <clearspace:replyCount>9</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

